Skip to content
Vectorlight.net

#a4167a

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

HEX
#a4167a
RGB
164, 22, 122
HSL
317.75°, 76.34%, 36.47%
OKLCH
0.49 0.2 344.15
Names
—
Lists

Codes

FormatValue
HEX#a4167a
RGBrgb(164 22 122)
HSLhsl(317.75 76.34% 36.47%)
OKLCHoklch(0.49 0.2 344.15)
CMYKcmyk(0% 86.59% 25.61% 35.69%)
Android#ffa4167a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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