Skip to content
Vectorlight.net

#cc786c

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

HEX
#cc786c
RGB
204, 120, 108
HSL
7.5°, 48.48%, 61.18%
OKLCH
0.66 0.11 28.94
Names
—
Lists

Codes

FormatValue
HEX#cc786c
RGBrgb(204 120 108)
HSLhsl(7.5 48.48% 61.18%)
OKLCHoklch(0.66 0.11 28.94)
CMYKcmyk(0% 41.18% 47.06% 20%)
Android#ffcc786c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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