Hex Color #D9004C - Custom Color
Color Codes
HEX
#D9004C
RGB
rgb(217, 0, 76)
HSL
hsl(339, 100%, 43%)
CMYK
cmyk(0%, 100%, 65%, 15%)
HSV
hsv(339, 100%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.18:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.05:1
Fail - 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: #D9004C;
color: #D9004C;
border-color: #D9004C;
}
Tailwind CSS (with arbitrary values)
bg-[#D9004C]
text-[#D9004C]
border-[#D9004C]
// Example usage:
<div className="bg-[#D9004C]">