Skip to content
Vectorlight.net

#aa128d

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

HEX
#aa128d
RGB
170, 18, 141
HSL
311.45°, 80.85%, 36.86%
OKLCH
0.51 0.21 338.34
Names
—
Lists

Codes

FormatValue
HEX#aa128d
RGBrgb(170 18 141)
HSLhsl(311.45 80.85% 36.86%)
OKLCHoklch(0.51 0.21 338.34)
CMYKcmyk(0% 89.41% 17.06% 33.33%)
Android#ffaa128d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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