Skip to content
Vectorlight.net

#dd02b2

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

HEX
#dd02b2
RGB
221, 2, 178
HSL
311.78°, 98.21%, 43.73%
OKLCH
0.61 0.26 339.92
Names
—
Lists

Codes

FormatValue
HEX#dd02b2
RGBrgb(221 2 178)
HSLhsl(311.78 98.21% 43.73%)
OKLCHoklch(0.61 0.26 339.92)
CMYKcmyk(0% 99.1% 19.46% 13.33%)
Android#ffdd02b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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