Hex Color #EFA2DD - Custom Color
Color Codes
HEX
#EFA2DD
RGB
rgb(239, 162, 221)
HSL
hsl(314, 71%, 79%)
CMYK
cmyk(0%, 32%, 8%, 6%)
HSV
hsv(314, 32%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.93:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.88: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: #EFA2DD;
color: #EFA2DD;
border-color: #EFA2DD;
}
Tailwind CSS (with arbitrary values)
bg-[#EFA2DD]
text-[#EFA2DD]
border-[#EFA2DD]
// Example usage:
<div className="bg-[#EFA2DD]">