Skip to content
Vectorlight.net

#db157a

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

HEX
#db157a
RGB
219, 21, 122
HSL
329.39°, 82.5%, 47.06%
OKLCH
0.58 0.23 358.39
Names
—
Lists

Codes

FormatValue
HEX#db157a
RGBrgb(219 21 122)
HSLhsl(329.39 82.5% 47.06%)
OKLCHoklch(0.58 0.23 358.39)
CMYKcmyk(0% 90.41% 44.29% 14.12%)
Android#ffdb157a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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