Skip to content
Vectorlight.net

#aa3271

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

HEX
#aa3271
RGB
170, 50, 113
HSL
328.5°, 54.55%, 43.14%
OKLCH
0.52 0.17 352.31
Names
—
Lists

Codes

FormatValue
HEX#aa3271
RGBrgb(170 50 113)
HSLhsl(328.5 54.55% 43.14%)
OKLCHoklch(0.52 0.17 352.31)
CMYKcmyk(0% 70.59% 33.53% 33.33%)
Android#ffaa3271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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