Skip to content
Vectorlight.net

#aa308f

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

HEX
#aa308f
RGB
170, 48, 143
HSL
313.28°, 55.96%, 42.75%
OKLCH
0.53 0.19 338.22
Names
—
Lists

Codes

FormatValue
HEX#aa308f
RGBrgb(170 48 143)
HSLhsl(313.28 55.96% 42.75%)
OKLCHoklch(0.53 0.19 338.22)
CMYKcmyk(0% 71.76% 15.88% 33.33%)
Android#ffaa308f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.95: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="#aa308f"
Gradient stop
<stop stop-color="#aa308f"/>
CSS variable + fill
:root { --c: #aa308f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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