Skip to content

#cec7cd

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

RGB
206, 199, 205
HSL
309°, 7%, 79%
CMYK
0, 3, 1, 19
Luminance
0.5838

Every format

HEX#cec7cd
RGBrgb(206, 199, 205)
HSLhsl(309, 7%, 79%)
CMYKcmyk(0%, 3%, 1%, 19%)
LABlab(81.0 3.5 -2.1)
LCHlch(81.0 4.1 328.9)
OKLCHoklch(0.837 0.011 330.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec7cd on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cec7cd on black: 12.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green78.0%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta3.4%
Yellow0.5%
Key (black)19.2%

Color previews

#cec7cd text on a black background

contrast 12.68:1

Card sample

#cec7cd text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec7cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec7cd in the Color Lab