Skip to content
Vectorlight.net

#e42921

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

HEX
#e42921
RGB
228, 41, 33
HSL
2.46°, 78.31%, 51.18%
OKLCH
0.59 0.22 28.72
Names
—
Lists

Codes

FormatValue
HEX#e42921
RGBrgb(228 41 33)
HSLhsl(2.46 78.31% 51.18%)
OKLCHoklch(0.59 0.22 28.72)
CMYKcmyk(0% 82.02% 85.53% 10.59%)
Android#ffe42921

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.63:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#e42921"
Gradient stop
<stop stop-color="#e42921"/>
CSS variable + fill
:root { --c: #e42921; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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