Skip to content
Vectorlight.net

#e2222e

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

HEX
#e2222e
RGB
226, 34, 46
HSL
356.25°, 76.8%, 50.98%
OKLCH
0.59 0.22 25.28
Names
—
Lists

Codes

FormatValue
HEX#e2222e
RGBrgb(226 34 46)
HSLhsl(356.25 76.8% 50.98%)
OKLCHoklch(0.59 0.22 25.28)
CMYKcmyk(0% 84.96% 79.65% 11.37%)
Android#ffe2222e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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