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