Skip to content
Vectorlight.net

#db218d

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

HEX
#db218d
RGB
219, 33, 141
HSL
325.16°, 73.81%, 49.41%
OKLCH
0.6 0.23 352.04
Names
—
Lists

Codes

FormatValue
HEX#db218d
RGBrgb(219 33 141)
HSLhsl(325.16 73.81% 49.41%)
OKLCHoklch(0.6 0.23 352.04)
CMYKcmyk(0% 84.93% 35.62% 14.12%)
Android#ffdb218d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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