Skip to content
Vectorlight.net

#aa397e

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

HEX
#aa397e
RGB
170, 57, 126
HSL
323.36°, 49.78%, 44.51%
OKLCH
0.53 0.16 346.58
Names
—
Lists

Codes

FormatValue
HEX#aa397e
RGBrgb(170 57 126)
HSLhsl(323.36 49.78% 44.51%)
OKLCHoklch(0.53 0.16 346.58)
CMYKcmyk(0% 66.47% 25.88% 33.33%)
Android#ffaa397e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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