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