Skip to content
Vectorlight.net

#e5172f

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

HEX
#e5172f
RGB
229, 23, 47
HSL
353.01°, 81.75%, 49.41%
OKLCH
0.59 0.23 24.21
Names
—
Lists

Codes

FormatValue
HEX#e5172f
RGBrgb(229 23 47)
HSLhsl(353.01 81.75% 49.41%)
OKLCHoklch(0.59 0.23 24.21)
CMYKcmyk(0% 89.96% 79.48% 10.2%)
Android#ffe5172f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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