Skip to content
Vectorlight.net

#dc107c

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

HEX
#dc107c
RGB
220, 16, 124
HSL
328.24°, 86.44%, 46.27%
OKLCH
0.59 0.23 357.69
Names
—
Lists

Codes

FormatValue
HEX#dc107c
RGBrgb(220 16 124)
HSLhsl(328.24 86.44% 46.27%)
OKLCHoklch(0.59 0.23 357.69)
CMYKcmyk(0% 92.73% 43.64% 13.73%)
Android#ffdc107c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.76: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="#dc107c"
Gradient stop
<stop stop-color="#dc107c"/>
CSS variable + fill
:root { --c: #dc107c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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