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