Skip to content
Vectorlight.net

#e2161e

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

HEX
#e2161e
RGB
226, 22, 30
HSL
357.65°, 82.26%, 48.63%
OKLCH
0.58 0.23 27.3
Names
—
Lists

Codes

FormatValue
HEX#e2161e
RGBrgb(226 22 30)
HSLhsl(357.65 82.26% 48.63%)
OKLCHoklch(0.58 0.23 27.3)
CMYKcmyk(0% 90.27% 86.73% 11.37%)
Android#ffe2161e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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