Hex Color #E337AB - Custom Color
Color Codes
HEX
#E337AB
RGB
rgb(227, 55, 171)
HSL
hsl(320, 75%, 55%)
CMYK
cmyk(0%, 76%, 25%, 11%)
HSV
hsv(320, 76%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.89:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.40:1
Pass - WCAG AA (Normal Text)
Fail - 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: #E337AB;
color: #E337AB;
border-color: #E337AB;
}
Tailwind CSS (with arbitrary values)
bg-[#E337AB]
text-[#E337AB]
border-[#E337AB]
// Example usage:
<div className="bg-[#E337AB]">