Skip to content
Vectorlight.net

#e8142a

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

HEX
#e8142a
RGB
232, 20, 42
HSL
353.77°, 84.13%, 49.41%
OKLCH
0.59 0.23 25.19
Names
—
Lists

Codes

FormatValue
HEX#e8142a
RGBrgb(232 20 42)
HSLhsl(353.77 84.13% 49.41%)
OKLCHoklch(0.59 0.23 25.19)
CMYKcmyk(0% 91.38% 81.9% 9.02%)
Android#ffe8142a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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