Skip to content
Vectorlight.net

#aa168e

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

HEX
#aa168e
RGB
170, 22, 142
HSL
311.35°, 77.08%, 37.65%
OKLCH
0.51 0.21 338.01
Names
—
Lists

Codes

FormatValue
HEX#aa168e
RGBrgb(170 22 142)
HSLhsl(311.35 77.08% 37.65%)
OKLCHoklch(0.51 0.21 338.01)
CMYKcmyk(0% 87.06% 16.47% 33.33%)
Android#ffaa168e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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