Hex Color #E02562 - Custom Color
Color Codes
HEX
#E02562
RGB
rgb(224, 37, 98)
HSL
hsl(340, 75%, 51%)
CMYK
cmyk(0%, 83%, 56%, 12%)
HSV
hsv(340, 83%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.55:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.61: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: #E02562;
color: #E02562;
border-color: #E02562;
}
Tailwind CSS (with arbitrary values)
bg-[#E02562]
text-[#E02562]
border-[#E02562]
// Example usage:
<div className="bg-[#E02562]">