Hex Color #EF42EB - Custom Color
Color Codes
HEX
#EF42EB
RGB
rgb(239, 66, 235)
HSL
hsl(301, 84%, 60%)
CMYK
cmyk(0%, 72%, 2%, 6%)
HSV
hsv(301, 72%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.16:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.65: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: #EF42EB;
color: #EF42EB;
border-color: #EF42EB;
}
Tailwind CSS (with arbitrary values)
bg-[#EF42EB]
text-[#EF42EB]
border-[#EF42EB]
// Example usage:
<div className="bg-[#EF42EB]">