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