Hex Color #DC4889 - Custom Color
Color Codes
HEX
#DC4889
RGB
rgb(220, 72, 137)
HSL
hsl(334, 68%, 57%)
CMYK
cmyk(0%, 67%, 38%, 14%)
HSV
hsv(334, 67%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.94:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.33: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: #DC4889;
color: #DC4889;
border-color: #DC4889;
}
Tailwind CSS (with arbitrary values)
bg-[#DC4889]
text-[#DC4889]
border-[#DC4889]
// Example usage:
<div className="bg-[#DC4889]">