Skip to content
Vectorlight.net

#a4142e

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

HEX
#a4142e
RGB
164, 20, 46
HSL
349.17°, 78.26%, 36.08%
OKLCH
0.46 0.17 19.51
Names
—
Lists

Codes

FormatValue
HEX#a4142e
RGBrgb(164 20 46)
HSLhsl(349.17 78.26% 36.08%)
OKLCHoklch(0.46 0.17 19.51)
CMYKcmyk(0% 87.8% 71.95% 35.69%)
Android#ffa4142e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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