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