Skip to content
Vectorlight.net

#a42d1f

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

HEX
#a42d1f
RGB
164, 45, 31
HSL
6.32°, 68.21%, 38.24%
OKLCH
0.48 0.16 30.36
Names
—
Lists

Codes

FormatValue
HEX#a42d1f
RGBrgb(164 45 31)
HSLhsl(6.32 68.21% 38.24%)
OKLCHoklch(0.48 0.16 30.36)
CMYKcmyk(0% 72.56% 81.1% 35.69%)
Android#ffa42d1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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