Skip to content
Vectorlight.net

#ccafba

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

HEX
#ccafba
RGB
204, 175, 186
HSL
337.24°, 22.14%, 74.31%
OKLCH
0.78 0.04 353.12
Names
—
Lists

Codes

FormatValue
HEX#ccafba
RGBrgb(204 175 186)
HSLhsl(337.24 22.14% 74.31%)
OKLCHoklch(0.78 0.04 353.12)
CMYKcmyk(0% 14.22% 8.82% 20%)
Android#ffccafba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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