Skip to content
Vectorlight.net

#dc7a9f

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

HEX
#dc7a9f
RGB
220, 122, 159
HSL
337.35°, 58.33%, 67.06%
OKLCH
0.7 0.13 356.91
Names
—
Lists

Codes

FormatValue
HEX#dc7a9f
RGBrgb(220 122 159)
HSLhsl(337.35 58.33% 67.06%)
OKLCHoklch(0.7 0.13 356.91)
CMYKcmyk(0% 44.55% 27.73% 13.73%)
Android#ffdc7a9f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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