Skip to content
Vectorlight.net

#e5152e

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

HEX
#e5152e
RGB
229, 21, 46
HSL
352.79°, 83.2%, 49.02%
OKLCH
0.59 0.23 24.29
Names
—
Lists

Codes

FormatValue
HEX#e5152e
RGBrgb(229 21 46)
HSLhsl(352.79 83.2% 49.02%)
OKLCHoklch(0.59 0.23 24.29)
CMYKcmyk(0% 90.83% 79.91% 10.2%)
Android#ffe5152e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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