Skip to content
Vectorlight.net

#dc7caf

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

HEX
#dc7caf
RGB
220, 124, 175
HSL
328.13°, 57.83%, 67.45%
OKLCH
0.71 0.13 347.94
Names
—
Lists

Codes

FormatValue
HEX#dc7caf
RGBrgb(220 124 175)
HSLhsl(328.13 57.83% 67.45%)
OKLCHoklch(0.71 0.13 347.94)
CMYKcmyk(0% 43.64% 20.45% 13.73%)
Android#ffdc7caf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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