Skip to content
Vectorlight.net

#aa7e9b

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

HEX
#aa7e9b
RGB
170, 126, 155
HSL
320.45°, 20.56%, 58.04%
OKLCH
0.65 0.07 339.6
Names
—
Lists

Codes

FormatValue
HEX#aa7e9b
RGBrgb(170 126 155)
HSLhsl(320.45 20.56% 58.04%)
OKLCHoklch(0.65 0.07 339.6)
CMYKcmyk(0% 25.88% 8.82% 33.33%)
Android#ffaa7e9b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.40:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.16:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#aa7e9b"
Gradient stop
<stop stop-color="#aa7e9b"/>
CSS variable + fill
:root { --c: #aa7e9b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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