Skip to content
Vectorlight.net

#d002aa

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

HEX
#d002aa
RGB
208, 2, 170
HSL
311.07°, 98.1%, 41.18%
OKLCH
0.58 0.25 339.11
Names
—
Lists

Codes

FormatValue
HEX#d002aa
RGBrgb(208 2 170)
HSLhsl(311.07 98.1% 41.18%)
OKLCHoklch(0.58 0.25 339.11)
CMYKcmyk(0% 99.04% 18.27% 18.43%)
Android#ffd002aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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