Skip to content
Vectorlight.net

#aa3a8a

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

HEX
#aa3a8a
RGB
170, 58, 138
HSL
317.14°, 49.12%, 44.71%
OKLCH
0.53 0.17 340.9
Names
—
Lists

Codes

FormatValue
HEX#aa3a8a
RGBrgb(170 58 138)
HSLhsl(317.14 49.12% 44.71%)
OKLCHoklch(0.53 0.17 340.9)
CMYKcmyk(0% 65.88% 18.82% 33.33%)
Android#ffaa3a8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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