Hex Color #EB12AD - Custom Color
Color Codes
HEX
#EB12AD
RGB
rgb(235, 18, 173)
HSL
hsl(317, 86%, 50%)
CMYK
cmyk(0%, 92%, 26%, 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.02:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.22: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: #EB12AD;
color: #EB12AD;
border-color: #EB12AD;
}
Tailwind CSS (with arbitrary values)
bg-[#EB12AD]
text-[#EB12AD]
border-[#EB12AD]
// Example usage:
<div className="bg-[#EB12AD]">