Skip to content
Vectorlight.net

#dc218f

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

HEX
#dc218f
RGB
220, 33, 143
HSL
324.71°, 73.91%, 49.61%
OKLCH
0.6 0.23 351.56
Names
—
Lists

Codes

FormatValue
HEX#dc218f
RGBrgb(220 33 143)
HSLhsl(324.71 73.91% 49.61%)
OKLCHoklch(0.6 0.23 351.56)
CMYKcmyk(0% 85% 35% 13.73%)
Android#ffdc218f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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