Hex Color #EB2D1B - Custom Color
Color Codes
HEX
#EB2D1B
RGB
rgb(235, 45, 27)
HSL
hsl(5, 84%, 51%)
CMYK
cmyk(0%, 81%, 89%, 8%)
HSV
hsv(5, 89%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.27:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.92: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: #EB2D1B;
color: #EB2D1B;
border-color: #EB2D1B;
}
Tailwind CSS (with arbitrary values)
bg-[#EB2D1B]
text-[#EB2D1B]
border-[#EB2D1B]
// Example usage:
<div className="bg-[#EB2D1B]">