Skip to content
Vectorlight.net

#a42a29

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

HEX
#a42a29
RGB
164, 42, 41
HSL
0.49°, 60%, 40.2%
OKLCH
0.48 0.16 25.92
Names
—
Lists

Codes

FormatValue
HEX#a42a29
RGBrgb(164 42 41)
HSLhsl(0.49 60% 40.2%)
OKLCHoklch(0.48 0.16 25.92)
CMYKcmyk(0% 74.39% 75% 35.69%)
Android#ffa42a29

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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