Skip to content
Vectorlight.net

#e21b4e

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

HEX
#e21b4e
RGB
226, 27, 78
HSL
344.62°, 78.66%, 49.61%
OKLCH
0.59 0.22 15.6
Names
—
Lists

Codes

FormatValue
HEX#e21b4e
RGBrgb(226 27 78)
HSLhsl(344.62 78.66% 49.61%)
OKLCHoklch(0.59 0.22 15.6)
CMYKcmyk(0% 88.05% 65.49% 11.37%)
Android#ffe21b4e

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

Recolor an SVG with this color

CSS

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