Skip to content
Vectorlight.net

#e21131

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

HEX
#e21131
RGB
226, 17, 49
HSL
350.81°, 86.01%, 47.65%
OKLCH
0.58 0.23 23.21
Names
—
Lists

Codes

FormatValue
HEX#e21131
RGBrgb(226 17 49)
HSLhsl(350.81 86.01% 47.65%)
OKLCHoklch(0.58 0.23 23.21)
CMYKcmyk(0% 92.48% 78.32% 11.37%)
Android#ffe21131

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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