Skip to content
Vectorlight.net

#cc797f

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

HEX
#cc797f
RGB
204, 121, 127
HSL
355.66°, 44.86%, 63.73%
OKLCH
0.67 0.1 15.61
Names
—
Lists

Codes

FormatValue
HEX#cc797f
RGBrgb(204 121 127)
HSLhsl(355.66 44.86% 63.73%)
OKLCHoklch(0.67 0.1 15.61)
CMYKcmyk(0% 40.69% 37.75% 20%)
Android#ffcc797f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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