Skip to content
Vectorlight.net

#dc1752

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

HEX
#dc1752
RGB
220, 23, 82
HSL
342.03°, 81.07%, 47.65%
OKLCH
0.58 0.22 13.23
Names
—
Lists

Codes

FormatValue
HEX#dc1752
RGBrgb(220 23 82)
HSLhsl(342.03 81.07% 47.65%)
OKLCHoklch(0.58 0.22 13.23)
CMYKcmyk(0% 89.55% 62.73% 13.73%)
Android#ffdc1752

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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