Skip to content
Vectorlight.net

#aa0296

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

HEX
#aa0296
RGB
170, 2, 150
HSL
307.14°, 97.67%, 33.73%
OKLCH
0.51 0.22 334.97
Names
—
Lists

Codes

FormatValue
HEX#aa0296
RGBrgb(170 2 150)
HSLhsl(307.14 97.67% 33.73%)
OKLCHoklch(0.51 0.22 334.97)
CMYKcmyk(0% 98.82% 11.76% 33.33%)
Android#ffaa0296

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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