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