Skip to content
Vectorlight.net

#aa258e

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

HEX
#aa258e
RGB
170, 37, 142
HSL
312.63°, 64.25%, 40.59%
OKLCH
0.52 0.2 338.3
Names
—
Lists

Codes

FormatValue
HEX#aa258e
RGBrgb(170 37 142)
HSLhsl(312.63 64.25% 40.59%)
OKLCHoklch(0.52 0.2 338.3)
CMYKcmyk(0% 78.24% 16.47% 33.33%)
Android#ffaa258e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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