Skip to content

#cec7cb

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

RGB
206, 199, 203
HSL
326°, 7%, 79%
CMYK
0, 3, 2, 19
Luminance
0.5828

Every format

HEX#cec7cb
RGBrgb(206, 199, 203)
HSLhsl(326, 7%, 79%)
CMYKcmyk(0%, 3%, 2%, 19%)
LABlab(80.9 3.1 -1.1)
LCHlch(80.9 3.3 340.2)
OKLCHoklch(0.837 0.009 341.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green78.0%
Blue79.6%

CMYK percentages

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

Color previews

#cec7cb text on a black background

contrast 12.66:1

Card sample

#cec7cb text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec7cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec7cb in the Color Lab