Skip to content
Vectorlight.net

#e2002a

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

HEX
#e2002a
RGB
226, 0, 42
HSL
348.85°, 100%, 44.31%
OKLCH
0.58 0.23 24.04
Names
—
Lists

Codes

FormatValue
HEX#e2002a
RGBrgb(226 0 42)
HSLhsl(348.85 100% 44.31%)
OKLCHoklch(0.58 0.23 24.04)
CMYKcmyk(0% 100% 81.42% 11.37%)
Android#ffe2002a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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