Skip to content
Vectorlight.net

#ad20bc

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

HEX
#ad20bc
RGB
173, 32, 188
HSL
294.23°, 70.91%, 43.14%
OKLCH
0.55 0.24 323.57
Names
—
Lists

Codes

FormatValue
HEX#ad20bc
RGBrgb(173 32 188)
HSLhsl(294.23 70.91% 43.14%)
OKLCHoklch(0.55 0.24 323.57)
CMYKcmyk(7.98% 82.98% 0% 26.27%)
Android#ffad20bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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