Skip to content
Vectorlight.net

#a6342f

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

HEX
#a6342f
RGB
166, 52, 47
HSL
2.52°, 55.87%, 41.76%
OKLCH
0.49 0.15 26.69
Names
—
Lists

Codes

FormatValue
HEX#a6342f
RGBrgb(166 52 47)
HSLhsl(2.52 55.87% 41.76%)
OKLCHoklch(0.49 0.15 26.69)
CMYKcmyk(0% 68.67% 71.69% 34.9%)
Android#ffa6342f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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