Hex Color #DC4297 - Custom Color
Color Codes
HEX
#DC4297
RGB
rgb(220, 66, 151)
HSL
hsl(327, 69%, 56%)
CMYK
cmyk(0%, 70%, 31%, 14%)
HSV
hsv(327, 70%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.27: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: #DC4297;
color: #DC4297;
border-color: #DC4297;
}
Tailwind CSS (with arbitrary values)
bg-[#DC4297]
text-[#DC4297]
border-[#DC4297]
// Example usage:
<div className="bg-[#DC4297]">