Skip to content
Vectorlight.net

#d802a5

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

HEX
#d802a5
RGB
216, 2, 165
HSL
314.3°, 98.17%, 42.75%
OKLCH
0.59 0.25 342.66
Names
—
Lists

Codes

FormatValue
HEX#d802a5
RGBrgb(216 2 165)
HSLhsl(314.3 98.17% 42.75%)
OKLCHoklch(0.59 0.25 342.66)
CMYKcmyk(0% 99.07% 23.61% 15.29%)
Android#ffd802a5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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