Skip to content
Vectorlight.net

#aa127f

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

HEX
#aa127f
RGB
170, 18, 127
HSL
316.97°, 80.85%, 36.86%
OKLCH
0.5 0.2 343.83
Names
—
Lists

Codes

FormatValue
HEX#aa127f
RGBrgb(170 18 127)
HSLhsl(316.97 80.85% 36.86%)
OKLCHoklch(0.5 0.2 343.83)
CMYKcmyk(0% 89.41% 25.29% 33.33%)
Android#ffaa127f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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