Hex Color #DE0974 - Custom Color
Color Codes
HEX
#DE0974
RGB
rgb(222, 9, 116)
HSL
hsl(330, 92%, 45%)
CMYK
cmyk(0%, 96%, 48%, 13%)
HSV
hsv(330, 96%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.78:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.40: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: #DE0974;
color: #DE0974;
border-color: #DE0974;
}
Tailwind CSS (with arbitrary values)
bg-[#DE0974]
text-[#DE0974]
border-[#DE0974]
// Example usage:
<div className="bg-[#DE0974]">