Skip to content
Vectorlight.net

#dc159c

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

HEX
#dc159c
RGB
220, 21, 156
HSL
319.3°, 82.57%, 47.25%
OKLCH
0.6 0.24 346.74
Names
—
Lists

Codes

FormatValue
HEX#dc159c
RGBrgb(220 21 156)
HSLhsl(319.3 82.57% 47.25%)
OKLCHoklch(0.6 0.24 346.74)
CMYKcmyk(0% 90.45% 29.09% 13.73%)
Android#ffdc159c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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