Skip to content
Vectorlight.net

#e21c4e

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

HEX
#e21c4e
RGB
226, 28, 78
HSL
344.85°, 77.95%, 49.8%
OKLCH
0.59 0.22 15.68
Names
—
Lists

Codes

FormatValue
HEX#e21c4e
RGBrgb(226 28 78)
HSLhsl(344.85 77.95% 49.8%)
OKLCHoklch(0.59 0.22 15.68)
CMYKcmyk(0% 87.61% 65.49% 11.37%)
Android#ffe21c4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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