Skip to content
Vectorlight.net

#dd02a1

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

HEX
#dd02a1
RGB
221, 2, 161
HSL
316.44°, 98.21%, 43.73%
OKLCH
0.6 0.25 345.11
Names
—
Lists

Codes

FormatValue
HEX#dd02a1
RGBrgb(221 2 161)
HSLhsl(316.44 98.21% 43.73%)
OKLCHoklch(0.6 0.25 345.11)
CMYKcmyk(0% 99.1% 27.15% 13.33%)
Android#ffdd02a1

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#dd02a1"
Gradient stop
<stop stop-color="#dd02a1"/>
CSS variable + fill
:root { --c: #dd02a1; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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