Skip to content
Vectorlight.net

#ccafab

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

HEX
#ccafab
RGB
204, 175, 171
HSL
7.27°, 24.44%, 73.53%
OKLCH
0.78 0.03 27.18
Names
—
Lists

Codes

FormatValue
HEX#ccafab
RGBrgb(204 175 171)
HSLhsl(7.27 24.44% 73.53%)
OKLCHoklch(0.78 0.03 27.18)
CMYKcmyk(0% 14.22% 16.18% 20%)
Android#ffccafab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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