Skip to content
Vectorlight.net

#a42e1c

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

HEX
#a42e1c
RGB
164, 46, 28
HSL
7.94°, 70.83%, 37.65%
OKLCH
0.48 0.16 31.59
Names
—
Lists

Codes

FormatValue
HEX#a42e1c
RGBrgb(164 46 28)
HSLhsl(7.94 70.83% 37.65%)
OKLCHoklch(0.48 0.16 31.59)
CMYKcmyk(0% 71.95% 82.93% 35.69%)
Android#ffa42e1c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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