Hex Color #EB072A - Custom Color
Color Codes
HEX
#EB072A
RGB
rgb(235, 7, 42)
HSL
hsl(351, 94%, 47%)
CMYK
cmyk(0%, 97%, 82%, 8%)
HSV
hsv(351, 97%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.57:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.60: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: #EB072A;
color: #EB072A;
border-color: #EB072A;
}
Tailwind CSS (with arbitrary values)
bg-[#EB072A]
text-[#EB072A]
border-[#EB072A]
// Example usage:
<div className="bg-[#EB072A]">