Hex Color #DF5DAB - Custom Color
Color Codes
HEX
#DF5DAB
RGB
rgb(223, 93, 171)
HSL
hsl(324, 67%, 62%)
CMYK
cmyk(0%, 58%, 23%, 13%)
HSV
hsv(324, 58%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.29: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: #DF5DAB;
color: #DF5DAB;
border-color: #DF5DAB;
}
Tailwind CSS (with arbitrary values)
bg-[#DF5DAB]
text-[#DF5DAB]
border-[#DF5DAB]
// Example usage:
<div className="bg-[#DF5DAB]">