Skip to content
Vectorlight.net

#db158d

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

HEX
#db158d
RGB
219, 21, 141
HSL
323.64°, 82.5%, 47.06%
OKLCH
0.59 0.24 351.6
Names
—
Lists

Codes

FormatValue
HEX#db158d
RGBrgb(219 21 141)
HSLhsl(323.64 82.5% 47.06%)
OKLCHoklch(0.59 0.24 351.6)
CMYKcmyk(0% 90.41% 35.62% 14.12%)
Android#ffdb158d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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