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