Skip to content
Vectorlight.net

#aa308e

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

HEX
#aa308e
RGB
170, 48, 142
HSL
313.77°, 55.96%, 42.75%
OKLCH
0.53 0.19 338.64
Names
—
Lists

Codes

FormatValue
HEX#aa308e
RGBrgb(170 48 142)
HSLhsl(313.77 55.96% 42.75%)
OKLCHoklch(0.53 0.19 338.64)
CMYKcmyk(0% 71.76% 16.47% 33.33%)
Android#ffaa308e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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