Hex Color #EC5ECA - Custom Color
Color Codes
HEX
#EC5ECA
RGB
rgb(236, 94, 202)
HSL
hsl(314, 79%, 65%)
CMYK
cmyk(0%, 60%, 14%, 7%)
HSV
hsv(314, 60%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.02: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: #EC5ECA;
color: #EC5ECA;
border-color: #EC5ECA;
}
Tailwind CSS (with arbitrary values)
bg-[#EC5ECA]
text-[#EC5ECA]
border-[#EC5ECA]
// Example usage:
<div className="bg-[#EC5ECA]">