Skip to content
Vectorlight.net

#dd12cf

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

HEX
#dd12cf
RGB
221, 18, 207
HSL
304.14°, 84.94%, 46.86%
OKLCH
0.63 0.28 331.88
Names
—
Lists

Codes

FormatValue
HEX#dd12cf
RGBrgb(221 18 207)
HSLhsl(304.14 84.94% 46.86%)
OKLCHoklch(0.63 0.28 331.88)
CMYKcmyk(0% 91.86% 6.33% 13.33%)
Android#ffdd12cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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