Skip to content
Vectorlight.net

#a42f31

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

HEX
#a42f31
RGB
164, 47, 49
HSL
358.97°, 55.45%, 41.37%
OKLCH
0.48 0.15 24.06
Names
—
Lists

Codes

FormatValue
HEX#a42f31
RGBrgb(164 47 49)
HSLhsl(358.97 55.45% 41.37%)
OKLCHoklch(0.48 0.15 24.06)
CMYKcmyk(0% 71.34% 70.12% 35.69%)
Android#ffa42f31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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