Hex Color #E42257 - Custom Color

Color Codes

HEX
#E42257
RGB
rgb(228, 34, 87)
HSL
hsl(344, 78%, 51%)
CMYK
cmyk(0%, 85%, 62%, 11%)
HSV
hsv(344, 85%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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