Hex Color #EB12AC - Custom Color
Color Codes
HEX
#EB12AC
RGB
rgb(235, 18, 172)
HSL
hsl(317, 86%, 50%)
CMYK
cmyk(0%, 92%, 27%, 8%)
HSV
hsv(317, 92%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.21: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: #EB12AC;
color: #EB12AC;
border-color: #EB12AC;
}
Tailwind CSS (with arbitrary values)
bg-[#EB12AC]
text-[#EB12AC]
border-[#EB12AC]
// Example usage:
<div className="bg-[#EB12AC]">