Hex Color #E501CA - Custom Color
Color Codes
HEX
#E501CA
RGB
rgb(229, 1, 202)
HSL
hsl(307, 99%, 45%)
CMYK
cmyk(0%, 100%, 12%, 10%)
HSV
hsv(307, 100%, 90%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.05:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.19: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: #E501CA;
color: #E501CA;
border-color: #E501CA;
}
Tailwind CSS (with arbitrary values)
bg-[#E501CA]
text-[#E501CA]
border-[#E501CA]
// Example usage:
<div className="bg-[#E501CA]">