Hex Color #E1A6DB - Custom Color
Color Codes
HEX
#E1A6DB
RGB
rgb(225, 166, 219)
HSL
hsl(306, 50%, 77%)
CMYK
cmyk(0%, 26%, 3%, 12%)
HSV
hsv(306, 26%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.97:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.68: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: #E1A6DB;
color: #E1A6DB;
border-color: #E1A6DB;
}
Tailwind CSS (with arbitrary values)
bg-[#E1A6DB]
text-[#E1A6DB]
border-[#E1A6DB]
// Example usage:
<div className="bg-[#E1A6DB]">