Skip to content

#cac7c1

a light, muted gray · warm · closest name: silver

RGB
202, 199, 193
HSL
40°, 8%, 78%
CMYK
0, 2, 5, 21
Luminance
0.5725

Every format

HEX#cac7c1
RGBrgb(202, 199, 193)
HSLhsl(40, 8%, 78%)
CMYKcmyk(0%, 2%, 5%, 21%)
LABlab(80.3 -0.0 3.4)
LCHlch(80.3 3.4 90.5)
OKLCHoklch(0.830 0.009 84.6)

Copy-ready code

/* CSS */
color: #cac7c1;
background-color: #cac7c1;
/* Tailwind (arbitrary) */
class="text-[#cac7c1] bg-[#cac7c1]"
/* SCSS */
$brand: #cac7c1;
/* SwiftUI */
Color(red: 0.792, green: 0.780, blue: 0.757)
/* Android */
Color.parseColor("#cac7c1")

Accessibility — WCAG contrast

Aa
#cac7c1 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cac7c1 on black: 12.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green78.0%
Blue75.7%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow4.5%
Key (black)20.8%

Color previews

#cac7c1 text on a black background

contrast 12.45:1

Card sample

#cac7c1 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cac7c1;
Background color
Panel with #cac7c1 background
background-color: #cac7c1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cac7c1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(202, 199, 193, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 199, 193, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cac7c1;
background: linear-gradient(135deg, #cac7c1, #C7CAC1);

Monochromatic scale

Palettes built from #cac7c1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac7c1 in the Color Lab