Skip to content
Vectorlight.net

#e7142b

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

HEX
#e7142b
RGB
231, 20, 43
HSL
353.46°, 84.06%, 49.22%
OKLCH
0.59 0.23 24.95
Names
—
Lists

Codes

FormatValue
HEX#e7142b
RGBrgb(231 20 43)
HSLhsl(353.46 84.06% 49.22%)
OKLCHoklch(0.59 0.23 24.95)
CMYKcmyk(0% 91.34% 81.39% 9.41%)
Android#ffe7142b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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