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