Skip to content
Vectorlight.net

#db18cd

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

HEX
#db18cd
RGB
219, 24, 205
HSL
304.31°, 80.25%, 47.65%
OKLCH
0.62 0.27 331.91
Names
—
Lists

Codes

FormatValue
HEX#db18cd
RGBrgb(219 24 205)
HSLhsl(304.31 80.25% 47.65%)
OKLCHoklch(0.62 0.27 331.91)
CMYKcmyk(0% 89.04% 6.39% 14.12%)
Android#ffdb18cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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