Skip to content
Vectorlight.net

#dc0fac

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

HEX
#dc0fac
RGB
220, 15, 172
HSL
314.05°, 87.23%, 46.08%
OKLCH
0.6 0.26 341.57
Names
—
Lists

Codes

FormatValue
HEX#dc0fac
RGBrgb(220 15 172)
HSLhsl(314.05 87.23% 46.08%)
OKLCHoklch(0.6 0.26 341.57)
CMYKcmyk(0% 93.18% 21.82% 13.73%)
Android#ffdc0fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.70:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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