Skip to content
Vectorlight.net

#e5171d

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#e5171d
RGB
229, 23, 29
HSL
358.25°, 81.75%, 49.41%
OKLCH
0.59 0.23 27.57
Names
—
Lists

Codes

FormatValue
HEX#e5171d
RGBrgb(229 23 29)
HSLhsl(358.25 81.75% 49.41%)
OKLCHoklch(0.59 0.23 27.57)
CMYKcmyk(0% 89.96% 87.34% 10.2%)
Android#ffe5171d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.47:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#e5171d"
Gradient stop
<stop stop-color="#e5171d"/>
CSS variable + fill
:root { --c: #e5171d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #e5171d;
background-color: #e5171d;
bg-[#e5171d]