Skip to content
Vectorlight.net

#dd02a2

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

HEX
#dd02a2
RGB
221, 2, 162
HSL
316.16°, 98.21%, 43.73%
OKLCH
0.6 0.25 344.79
Names
—
Lists

Codes

FormatValue
HEX#dd02a2
RGBrgb(221 2 162)
HSLhsl(316.16 98.21% 43.73%)
OKLCHoklch(0.6 0.25 344.79)
CMYKcmyk(0% 99.1% 26.7% 13.33%)
Android#ffdd02a2

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

Recolor an SVG with this color

CSS

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