Hex Color #E510A5 - Custom Color
Color Codes
HEX
#E510A5
RGB
rgb(229, 16, 165)
HSL
hsl(318, 87%, 48%)
CMYK
cmyk(0%, 93%, 28%, 10%)
HSV
hsv(318, 93%, 90%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.95: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: #E510A5;
color: #E510A5;
border-color: #E510A5;
}
Tailwind CSS (with arbitrary values)
bg-[#E510A5]
text-[#E510A5]
border-[#E510A5]
// Example usage:
<div className="bg-[#E510A5]">