Hex Color #EF878A - Custom Color
Color Codes
HEX
#EF878A
RGB
rgb(239, 135, 138)
HSL
hsl(358, 76%, 73%)
CMYK
cmyk(0%, 44%, 42%, 6%)
HSV
hsv(358, 44%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.47:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.50:1
Pass - WCAG AA (Normal Text)
Pass - 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: #EF878A;
color: #EF878A;
border-color: #EF878A;
}
Tailwind CSS (with arbitrary values)
bg-[#EF878A]
text-[#EF878A]
border-[#EF878A]
// Example usage:
<div className="bg-[#EF878A]">