Skip to content
Vectorlight.net

#aa98bb

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

HEX
#aa98bb
RGB
170, 152, 187
HSL
270.86°, 20.47%, 66.47%
OKLCH
0.71 0.05 308.22
Names
—
Lists

Codes

FormatValue
HEX#aa98bb
RGBrgb(170 152 187)
HSLhsl(270.86 20.47% 66.47%)
OKLCHoklch(0.71 0.05 308.22)
CMYKcmyk(9.09% 18.72% 0% 26.67%)
Android#ffaa98bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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