Skip to content
Vectorlight.net

#e2001c

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

HEX
#e2001c
RGB
226, 0, 28
HSL
352.57°, 100%, 44.31%
OKLCH
0.57 0.23 26.54
Names
—
Lists

Codes

FormatValue
HEX#e2001c
RGBrgb(226 0 28)
HSLhsl(352.57 100% 44.31%)
OKLCHoklch(0.57 0.23 26.54)
CMYKcmyk(0% 100% 87.61% 11.37%)
Android#ffe2001c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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