Hex Color #EF173A - Custom Color

Color Codes

HEX
#EF173A
RGB
rgb(239, 23, 58)
HSL
hsl(350, 87%, 51%)
CMYK
cmyk(0%, 90%, 76%, 6%)
HSV
hsv(350, 90%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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