Skip to content
Vectorlight.net

#dd12d2

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

HEX
#dd12d2
RGB
221, 18, 210
HSL
303.25°, 84.94%, 46.86%
OKLCH
0.63 0.28 331.1
Names
—
Lists

Codes

FormatValue
HEX#dd12d2
RGBrgb(221 18 210)
HSLhsl(303.25 84.94% 46.86%)
OKLCHoklch(0.63 0.28 331.1)
CMYKcmyk(0% 91.86% 4.98% 13.33%)
Android#ffdd12d2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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