Skip to content
Vectorlight.net

#a7342a

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

HEX
#a7342a
RGB
167, 52, 42
HSL
4.8°, 59.81%, 40.98%
OKLCH
0.49 0.15 28.75
Names
—
Lists

Codes

FormatValue
HEX#a7342a
RGBrgb(167 52 42)
HSLhsl(4.8 59.81% 40.98%)
OKLCHoklch(0.49 0.15 28.75)
CMYKcmyk(0% 68.86% 74.85% 34.51%)
Android#ffa7342a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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