Hex Color #E57FAC - Custom Color
Color Codes
HEX
#E57FAC
RGB
rgb(229, 127, 172)
HSL
hsl(334, 66%, 70%)
CMYK
cmyk(0%, 45%, 25%, 10%)
HSV
hsv(334, 45%, 90%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.64:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.96: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: #E57FAC;
color: #E57FAC;
border-color: #E57FAC;
}
Tailwind CSS (with arbitrary values)
bg-[#E57FAC]
text-[#E57FAC]
border-[#E57FAC]
// Example usage:
<div className="bg-[#E57FAC]">