Hex Color #EBA0DD - Custom Color
Color Codes
HEX
#EBA0DD
RGB
rgb(235, 160, 221)
HSL
hsl(311, 65%, 77%)
CMYK
cmyk(0%, 32%, 6%, 8%)
HSV
hsv(311, 32%, 92%)
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.60: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: #EBA0DD;
color: #EBA0DD;
border-color: #EBA0DD;
}
Tailwind CSS (with arbitrary values)
bg-[#EBA0DD]
text-[#EBA0DD]
border-[#EBA0DD]
// Example usage:
<div className="bg-[#EBA0DD]">