Skip to content
Vectorlight.net

#dc1891

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

HEX
#dc1891
RGB
220, 24, 145
HSL
322.96°, 80.33%, 47.84%
OKLCH
0.6 0.24 350.53
Names
—
Lists

Codes

FormatValue
HEX#dc1891
RGBrgb(220 24 145)
HSLhsl(322.96 80.33% 47.84%)
OKLCHoklch(0.6 0.24 350.53)
CMYKcmyk(0% 89.09% 34.09% 13.73%)
Android#ffdc1891

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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