Skip to content
Vectorlight.net

#aa228d

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

HEX
#aa228d
RGB
170, 34, 141
HSL
312.79°, 66.67%, 40%
OKLCH
0.51 0.2 338.62
Names
—
Lists

Codes

FormatValue
HEX#aa228d
RGBrgb(170 34 141)
HSLhsl(312.79 66.67% 40%)
OKLCHoklch(0.51 0.2 338.62)
CMYKcmyk(0% 80% 17.06% 33.33%)
Android#ffaa228d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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