Skip to content
Vectorlight.net

#ad2d8a

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

HEX
#ad2d8a
RGB
173, 45, 138
HSL
316.41°, 58.72%, 42.75%
OKLCH
0.53 0.19 341.21
Names
—
Lists

Codes

FormatValue
HEX#ad2d8a
RGBrgb(173 45 138)
HSLhsl(316.41 58.72% 42.75%)
OKLCHoklch(0.53 0.19 341.21)
CMYKcmyk(0% 73.99% 20.23% 32.16%)
Android#ffad2d8a

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

Recolor an SVG with this color

CSS

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