Skip to content
Vectorlight.net

#e0171e

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

HEX
#e0171e
RGB
224, 23, 30
HSL
357.91°, 81.38%, 48.43%
OKLCH
0.58 0.23 27.34
Names
—
Lists

Codes

FormatValue
HEX#e0171e
RGBrgb(224 23 30)
HSLhsl(357.91 81.38% 48.43%)
OKLCHoklch(0.58 0.23 27.34)
CMYKcmyk(0% 89.73% 86.61% 12.16%)
Android#ffe0171e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.31: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="#e0171e"
Gradient stop
<stop stop-color="#e0171e"/>
CSS variable + fill
:root { --c: #e0171e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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