Hex Color #EF5797 - Custom Color
Color Codes
HEX
#EF5797
RGB
rgb(239, 87, 151)
HSL
hsl(335, 83%, 64%)
CMYK
cmyk(0%, 64%, 37%, 6%)
HSV
hsv(335, 64%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.48: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: #EF5797;
color: #EF5797;
border-color: #EF5797;
}
Tailwind CSS (with arbitrary values)
bg-[#EF5797]
text-[#EF5797]
border-[#EF5797]
// Example usage:
<div className="bg-[#EF5797]">