Hex Color #EFA4DC - Custom Color
Color Codes
HEX
#EFA4DC
RGB
rgb(239, 164, 220)
HSL
hsl(315, 70%, 79%)
CMYK
cmyk(0%, 31%, 8%, 6%)
HSV
hsv(315, 31%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.91:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.01:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #EFA4DC;
color: #EFA4DC;
border-color: #EFA4DC;
}
Tailwind CSS (with arbitrary values)
bg-[#EFA4DC]
text-[#EFA4DC]
border-[#EFA4DC]
// Example usage:
<div className="bg-[#EFA4DC]">