Skip to content
Vectorlight.net

#e2272a

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

HEX
#e2272a
RGB
226, 39, 42
HSL
359.04°, 76.33%, 51.96%
OKLCH
0.59 0.22 26.74
Names
—
Lists

Codes

FormatValue
HEX#e2272a
RGBrgb(226 39 42)
HSLhsl(359.04 76.33% 51.96%)
OKLCHoklch(0.59 0.22 26.74)
CMYKcmyk(0% 82.74% 81.42% 11.37%)
Android#ffe2272a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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