Skip to content
Vectorlight.net

#aa157f

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

HEX
#aa157f
RGB
170, 21, 127
HSL
317.32°, 78.01%, 37.45%
OKLCH
0.5 0.2 343.91
Names
—
Lists

Codes

FormatValue
HEX#aa157f
RGBrgb(170 21 127)
HSLhsl(317.32 78.01% 37.45%)
OKLCHoklch(0.5 0.2 343.91)
CMYKcmyk(0% 87.65% 25.29% 33.33%)
Android#ffaa157f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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