Skip to content
Vectorlight.net

#db237c

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

HEX
#db237c
RGB
219, 35, 124
HSL
330.98°, 72.44%, 49.8%
OKLCH
0.59 0.22 358.4
Names
—
Lists

Codes

FormatValue
HEX#db237c
RGBrgb(219 35 124)
HSLhsl(330.98 72.44% 49.8%)
OKLCHoklch(0.59 0.22 358.4)
CMYKcmyk(0% 84.02% 43.38% 14.12%)
Android#ffdb237c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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