Hex Color #E772AB - Custom Color
Color Codes
HEX
#E772AB
RGB
rgb(231, 114, 171)
HSL
hsl(331, 71%, 68%)
CMYK
cmyk(0%, 51%, 26%, 9%)
HSV
hsv(331, 51%, 91%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.84:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.39: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: #E772AB;
color: #E772AB;
border-color: #E772AB;
}
Tailwind CSS (with arbitrary values)
bg-[#E772AB]
text-[#E772AB]
border-[#E772AB]
// Example usage:
<div className="bg-[#E772AB]">