Skip to content
Vectorlight.net

#db237e

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

HEX
#db237e
RGB
219, 35, 126
HSL
330.33°, 72.44%, 49.8%
OKLCH
0.59 0.22 357.65
Names
—
Lists

Codes

FormatValue
HEX#db237e
RGBrgb(219 35 126)
HSLhsl(330.33 72.44% 49.8%)
OKLCHoklch(0.59 0.22 357.65)
CMYKcmyk(0% 84.02% 42.47% 14.12%)
Android#ffdb237e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.55:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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