Skip to content
Vectorlight.net

#df218c

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

HEX
#df218c
RGB
223, 33, 140
HSL
326.21°, 74.8%, 50.2%
OKLCH
0.6 0.23 353.3
Names
—
Lists

Codes

FormatValue
HEX#df218c
RGBrgb(223 33 140)
HSLhsl(326.21 74.8% 50.2%)
OKLCHoklch(0.6 0.23 353.3)
CMYKcmyk(0% 85.2% 37.22% 12.55%)
Android#ffdf218c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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