Skip to content
Vectorlight.net

#dd31bc

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

HEX
#dd31bc
RGB
221, 49, 188
HSL
311.51°, 71.67%, 52.94%
OKLCH
0.63 0.24 337.41
Names
—
Lists

Codes

FormatValue
HEX#dd31bc
RGBrgb(221 49 188)
HSLhsl(311.51 71.67% 52.94%)
OKLCHoklch(0.63 0.24 337.41)
CMYKcmyk(0% 77.83% 14.93% 13.33%)
Android#ffdd31bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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