Skip to content
Vectorlight.net

#df218d

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

HEX
#df218d
RGB
223, 33, 141
HSL
325.89°, 74.8%, 50.2%
OKLCH
0.6 0.23 352.95
Names
—
Lists

Codes

FormatValue
HEX#df218d
RGBrgb(223 33 141)
HSLhsl(325.89 74.8% 50.2%)
OKLCHoklch(0.6 0.23 352.95)
CMYKcmyk(0% 85.2% 36.77% 12.55%)
Android#ffdf218d

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

Recolor an SVG with this color

CSS

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