Skip to content
Vectorlight.net

#e7152b

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

HEX
#e7152b
RGB
231, 21, 43
HSL
353.71°, 83.33%, 49.41%
OKLCH
0.59 0.23 25.01
Names
—
Lists

Codes

FormatValue
HEX#e7152b
RGBrgb(231 21 43)
HSLhsl(353.71 83.33% 49.41%)
OKLCHoklch(0.59 0.23 25.01)
CMYKcmyk(0% 90.91% 81.39% 9.41%)
Android#ffe7152b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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