Hex Color #E40136 - Custom Color

Color Codes

HEX
#E40136
RGB
rgb(228, 1, 54)
HSL
hsl(346, 99%, 45%)
CMYK
cmyk(0%, 100%, 76%, 11%)
HSV
hsv(346, 100%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.36:1
Fail - 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: #E40136;
color: #E40136;
border-color: #E40136;
}

Tailwind CSS (with arbitrary values)

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