Skip to content
Vectorlight.net

#e7142a

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

HEX
#e7142a
RGB
231, 20, 42
HSL
353.74°, 84.06%, 49.22%
OKLCH
0.59 0.23 25.15
Names
—
Lists

Codes

FormatValue
HEX#e7142a
RGBrgb(231 20 42)
HSLhsl(353.74 84.06% 49.22%)
OKLCHoklch(0.59 0.23 25.15)
CMYKcmyk(0% 91.34% 81.82% 9.41%)
Android#ffe7142a

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

Recolor an SVG with this color

CSS

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