Skip to content
Vectorlight.net

#dc798a

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

HEX
#dc798a
RGB
220, 121, 138
HSL
349.7°, 58.58%, 66.86%
OKLCH
0.69 0.12 9.89
Names
—
Lists

Codes

FormatValue
HEX#dc798a
RGBrgb(220 121 138)
HSLhsl(349.7 58.58% 66.86%)
OKLCHoklch(0.69 0.12 9.89)
CMYKcmyk(0% 45% 37.27% 13.73%)
Android#ffdc798a

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

Recolor an SVG with this color

CSS

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