Skip to content
Vectorlight.net

#aa338f

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

HEX
#aa338f
RGB
170, 51, 143
HSL
313.61°, 53.85%, 43.33%
OKLCH
0.53 0.18 338.33
Names
—
Lists

Codes

FormatValue
HEX#aa338f
RGBrgb(170 51 143)
HSLhsl(313.61 53.85% 43.33%)
OKLCHoklch(0.53 0.18 338.33)
CMYKcmyk(0% 70% 15.88% 33.33%)
Android#ffaa338f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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