Skip to content
Vectorlight.net

#a42f38

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

HEX
#a42f38
RGB
164, 47, 56
HSL
355.38°, 55.45%, 41.37%
OKLCH
0.49 0.15 20.78
Names
—
Lists

Codes

FormatValue
HEX#a42f38
RGBrgb(164 47 56)
HSLhsl(355.38 55.45% 41.37%)
OKLCHoklch(0.49 0.15 20.78)
CMYKcmyk(0% 71.34% 65.85% 35.69%)
Android#ffa42f38

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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