Skip to content
Vectorlight.net

#dc1f6f

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

HEX
#dc1f6f
RGB
220, 31, 111
HSL
334.6°, 75.3%, 49.22%
OKLCH
0.59 0.22 3.21
Names
—
Lists

Codes

FormatValue
HEX#dc1f6f
RGBrgb(220 31 111)
HSLhsl(334.6 75.3% 49.22%)
OKLCHoklch(0.59 0.22 3.21)
CMYKcmyk(0% 85.91% 49.55% 13.73%)
Android#ffdc1f6f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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