Skip to content
Vectorlight.net

#aa02bc

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

HEX
#aa02bc
RGB
170, 2, 188
HSL
294.19°, 97.89%, 37.25%
OKLCH
0.53 0.25 323
Names
—
Lists

Codes

FormatValue
HEX#aa02bc
RGBrgb(170 2 188)
HSLhsl(294.19 97.89% 37.25%)
OKLCHoklch(0.53 0.25 323)
CMYKcmyk(9.57% 98.94% 0% 26.27%)
Android#ffaa02bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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