Skip to content
Vectorlight.net

#ad2d98

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

HEX
#ad2d98
RGB
173, 45, 152
HSL
309.84°, 58.72%, 42.75%
OKLCH
0.53 0.2 335.56
Names
—
Lists

Codes

FormatValue
HEX#ad2d98
RGBrgb(173 45 152)
HSLhsl(309.84 58.72% 42.75%)
OKLCHoklch(0.53 0.2 335.56)
CMYKcmyk(0% 73.99% 12.14% 32.16%)
Android#ffad2d98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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