Skip to content
Vectorlight.net

#e5152a

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

HEX
#e5152a
RGB
229, 21, 42
HSL
353.94°, 83.2%, 49.02%
OKLCH
0.59 0.23 25.14
Names
—
Lists

Codes

FormatValue
HEX#e5152a
RGBrgb(229 21 42)
HSLhsl(353.94 83.2% 49.02%)
OKLCHoklch(0.59 0.23 25.14)
CMYKcmyk(0% 90.83% 81.66% 10.2%)
Android#ffe5152a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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