Hex Color #DF5872 - Custom Color
Color Codes
HEX
#DF5872
RGB
rgb(223, 88, 114)
HSL
hsl(348, 68%, 61%)
CMYK
cmyk(0%, 61%, 49%, 13%)
HSV
hsv(348, 61%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.64:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.78:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #DF5872;
color: #DF5872;
border-color: #DF5872;
}
Tailwind CSS (with arbitrary values)
bg-[#DF5872]
text-[#DF5872]
border-[#DF5872]
// Example usage:
<div className="bg-[#DF5872]">