Skip to content
Vectorlight.net

#a6166a

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

HEX
#a6166a
RGB
166, 22, 106
HSL
325°, 76.6%, 36.86%
OKLCH
0.48 0.19 351.91
Names
—
Lists

Codes

FormatValue
HEX#a6166a
RGBrgb(166 22 106)
HSLhsl(325 76.6% 36.86%)
OKLCHoklch(0.48 0.19 351.91)
CMYKcmyk(0% 86.75% 36.14% 34.9%)
Android#ffa6166a

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="#a6166a"
Gradient stop
<stop stop-color="#a6166a"/>
CSS variable + fill
:root { --c: #a6166a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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