Skip to content
Vectorlight.net

#dc0f7e

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

HEX
#dc0f7e
RGB
220, 15, 126
HSL
327.51°, 87.23%, 46.08%
OKLCH
0.59 0.23 356.95
Names
—
Lists

Codes

FormatValue
HEX#dc0f7e
RGBrgb(220 15 126)
HSLhsl(327.51 87.23% 46.08%)
OKLCHoklch(0.59 0.23 356.95)
CMYKcmyk(0% 93.18% 42.73% 13.73%)
Android#ffdc0f7e

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

Recolor an SVG with this color

CSS

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