Skip to content
Vectorlight.net

#d796cc

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

HEX
#d796cc
RGB
215, 150, 204
HSL
310.15°, 44.83%, 71.57%
OKLCH
0.75 0.1 332.69
Names
—
Lists

Codes

FormatValue
HEX#d796cc
RGBrgb(215 150 204)
HSLhsl(310.15 44.83% 71.57%)
OKLCHoklch(0.75 0.1 332.69)
CMYKcmyk(0% 30.23% 5.12% 15.69%)
Android#ffd796cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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