Skip to content
Vectorlight.net

#cc798b

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

HEX
#cc798b
RGB
204, 121, 139
HSL
346.99°, 44.86%, 63.73%
OKLCH
0.67 0.11 6.31
Names
—
Lists

Codes

FormatValue
HEX#cc798b
RGBrgb(204 121 139)
HSLhsl(346.99 44.86% 63.73%)
OKLCHoklch(0.67 0.11 6.31)
CMYKcmyk(0% 40.69% 31.86% 20%)
Android#ffcc798b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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