Skip to content
Vectorlight.net

#a8167a

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

HEX
#a8167a
RGB
168, 22, 122
HSL
318.9°, 76.84%, 37.25%
OKLCH
0.5 0.2 345.41
Names
—
Lists

Codes

FormatValue
HEX#a8167a
RGBrgb(168 22 122)
HSLhsl(318.9 76.84% 37.25%)
OKLCHoklch(0.5 0.2 345.41)
CMYKcmyk(0% 86.9% 27.38% 34.12%)
Android#ffa8167a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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