Skip to content
Vectorlight.net

#dc798c

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

HEX
#dc798c
RGB
220, 121, 140
HSL
348.48°, 58.58%, 66.86%
OKLCH
0.69 0.12 8.59
Names
—
Lists

Codes

FormatValue
HEX#dc798c
RGBrgb(220 121 140)
HSLhsl(348.48 58.58% 66.86%)
OKLCHoklch(0.69 0.12 8.59)
CMYKcmyk(0% 45% 36.36% 13.73%)
Android#ffdc798c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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