Hex Color #EC4DCF - Custom Color
Color Codes
HEX
#EC4DCF
RGB
rgb(236, 77, 207)
HSL
hsl(311, 81%, 61%)
CMYK
cmyk(0%, 67%, 12%, 7%)
HSV
hsv(311, 67%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.22:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.53: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: #EC4DCF;
color: #EC4DCF;
border-color: #EC4DCF;
}
Tailwind CSS (with arbitrary values)
bg-[#EC4DCF]
text-[#EC4DCF]
border-[#EC4DCF]
// Example usage:
<div className="bg-[#EC4DCF]">