Skip to content
Vectorlight.net

#dc7fac

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

HEX
#dc7fac
RGB
220, 127, 172
HSL
330.97°, 57.06%, 68.04%
OKLCH
0.71 0.13 350.38
Names
—
Lists

Codes

FormatValue
HEX#dc7fac
RGBrgb(220 127 172)
HSLhsl(330.97 57.06% 68.04%)
OKLCHoklch(0.71 0.13 350.38)
CMYKcmyk(0% 42.27% 21.82% 13.73%)
Android#ffdc7fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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