Skip to content
Vectorlight.net

#dc217a

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

HEX
#dc217a
RGB
220, 33, 122
HSL
331.44°, 73.91%, 49.61%
OKLCH
0.59 0.22 359.22
Names
—
Lists

Codes

FormatValue
HEX#dc217a
RGBrgb(220 33 122)
HSLhsl(331.44 73.91% 49.61%)
OKLCHoklch(0.59 0.22 359.22)
CMYKcmyk(0% 85% 44.55% 13.73%)
Android#ffdc217a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#dc217a"
Gradient stop
<stop stop-color="#dc217a"/>
CSS variable + fill
:root { --c: #dc217a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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