Skip to content
Vectorlight.net

#e31d24

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

HEX
#e31d24
RGB
227, 29, 36
HSL
357.88°, 77.95%, 50.2%
OKLCH
0.59 0.23 26.86
Names
—
Lists

Codes

FormatValue
HEX#e31d24
RGBrgb(227 29 36)
HSLhsl(357.88 77.95% 50.2%)
OKLCHoklch(0.59 0.23 26.86)
CMYKcmyk(0% 87.22% 84.14% 10.98%)
Android#ffe31d24

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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