Skip to content
Vectorlight.net

#dc817c

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

HEX
#dc817c
RGB
220, 129, 124
HSL
3.13°, 57.83%, 67.45%
OKLCH
0.7 0.11 23.72
Names
—
Lists

Codes

FormatValue
HEX#dc817c
RGBrgb(220 129 124)
HSLhsl(3.13 57.83% 67.45%)
OKLCHoklch(0.7 0.11 23.72)
CMYKcmyk(0% 41.36% 43.64% 13.73%)
Android#ffdc817c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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