Skip to content
Vectorlight.net

#a7166b

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

HEX
#a7166b
RGB
167, 22, 107
HSL
324.83°, 76.72%, 37.06%
OKLCH
0.49 0.19 351.74
Names
—
Lists

Codes

FormatValue
HEX#a7166b
RGBrgb(167 22 107)
HSLhsl(324.83 76.72% 37.06%)
OKLCHoklch(0.49 0.19 351.74)
CMYKcmyk(0% 86.83% 35.93% 34.51%)
Android#ffa7166b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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