Skip to content
Vectorlight.net

#ad04d2

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

HEX
#ad04d2
RGB
173, 4, 210
HSL
289.22°, 96.26%, 41.96%
OKLCH
0.55 0.27 318.01
Names
—
Lists

Codes

FormatValue
HEX#ad04d2
RGBrgb(173 4 210)
HSLhsl(289.22 96.26% 41.96%)
OKLCHoklch(0.55 0.27 318.01)
CMYKcmyk(17.62% 98.1% 0% 17.65%)
Android#ffad04d2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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