Skip to content
Vectorlight.net

#aa318e

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

HEX
#aa318e
RGB
170, 49, 142
HSL
313.88°, 55.25%, 42.94%
OKLCH
0.53 0.19 338.68
Names
—
Lists

Codes

FormatValue
HEX#aa318e
RGBrgb(170 49 142)
HSLhsl(313.88 55.25% 42.94%)
OKLCHoklch(0.53 0.19 338.68)
CMYKcmyk(0% 71.18% 16.47% 33.33%)
Android#ffaa318e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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