Skip to content
Vectorlight.net

#e5311c

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

HEX
#e5311c
RGB
229, 49, 28
HSL
6.27°, 79.45%, 50.39%
OKLCH
0.6 0.22 30.64
Names
—
Lists

Codes

FormatValue
HEX#e5311c
RGBrgb(229 49 28)
HSLhsl(6.27 79.45% 50.39%)
OKLCHoklch(0.6 0.22 30.64)
CMYKcmyk(0% 78.6% 87.77% 10.2%)
Android#ffe5311c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#e5311c"
Gradient stop
<stop stop-color="#e5311c"/>
CSS variable + fill
:root { --c: #e5311c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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