Skip to content
Vectorlight.net

#dd31cf

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

HEX
#dd31cf
RGB
221, 49, 207
HSL
304.88°, 71.67%, 52.94%
OKLCH
0.64 0.26 331.88
Names
—
Lists

Codes

FormatValue
HEX#dd31cf
RGBrgb(221 49 207)
HSLhsl(304.88 71.67% 52.94%)
OKLCHoklch(0.64 0.26 331.88)
CMYKcmyk(0% 77.83% 6.33% 13.33%)
Android#ffdd31cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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