Hex Color #E9A1DD - Custom Color
Color Codes
HEX
#E9A1DD
RGB
rgb(233, 161, 221)
HSL
hsl(310, 62%, 77%)
CMYK
cmyk(0%, 31%, 5%, 9%)
HSV
hsv(310, 31%, 91%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.98:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.61:1
Pass - WCAG AA (Normal Text)
Pass - 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: #E9A1DD;
color: #E9A1DD;
border-color: #E9A1DD;
}
Tailwind CSS (with arbitrary values)
bg-[#E9A1DD]
text-[#E9A1DD]
border-[#E9A1DD]
// Example usage:
<div className="bg-[#E9A1DD]">