Hex Color #EB1221 - Custom Color

Color Codes

HEX
#EB1221
RGB
rgb(235, 18, 33)
HSL
hsl(356, 86%, 50%)
CMYK
cmyk(0%, 92%, 86%, 8%)
HSV
hsv(356, 92%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.52:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.64: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: #EB1221;
color: #EB1221;
border-color: #EB1221;
}

Tailwind CSS (with arbitrary values)

bg-[#EB1221]
text-[#EB1221]
border-[#EB1221]
// Example usage:
<div className="bg-[#EB1221]">