Skip to content
Vectorlight.net

#dd1cd5

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

HEX
#dd1cd5
RGB
221, 28, 213
HSL
302.49°, 77.51%, 48.82%
OKLCH
0.63 0.28 330.31
Names
—
Lists

Codes

FormatValue
HEX#dd1cd5
RGBrgb(221 28 213)
HSLhsl(302.49 77.51% 48.82%)
OKLCHoklch(0.63 0.28 330.31)
CMYKcmyk(0% 87.33% 3.62% 13.33%)
Android#ffdd1cd5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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