Skip to content
Vectorlight.net

#dc107d

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

HEX
#dc107d
RGB
220, 16, 125
HSL
327.94°, 86.44%, 46.27%
OKLCH
0.59 0.23 357.33
Names
—
Lists

Codes

FormatValue
HEX#dc107d
RGBrgb(220 16 125)
HSLhsl(327.94 86.44% 46.27%)
OKLCHoklch(0.59 0.23 357.33)
CMYKcmyk(0% 92.73% 43.18% 13.73%)
Android#ffdc107d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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