Skip to content
Vectorlight.net

#dc117f

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

HEX
#dc117f
RGB
220, 17, 127
HSL
327.49°, 85.65%, 46.47%
OKLCH
0.59 0.23 356.65
Names
—
Lists

Codes

FormatValue
HEX#dc117f
RGBrgb(220 17 127)
HSLhsl(327.49 85.65% 46.47%)
OKLCHoklch(0.59 0.23 356.65)
CMYKcmyk(0% 92.27% 42.27% 13.73%)
Android#ffdc117f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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