Hex Color #EC5392 - Custom Color
Color Codes
HEX
#EC5392
RGB
rgb(236, 83, 146)
HSL
hsl(335, 80%, 63%)
CMYK
cmyk(0%, 65%, 38%, 7%)
HSV
hsv(335, 65%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.38:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.22: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: #EC5392;
color: #EC5392;
border-color: #EC5392;
}
Tailwind CSS (with arbitrary values)
bg-[#EC5392]
text-[#EC5392]
border-[#EC5392]
// Example usage:
<div className="bg-[#EC5392]">