Skip to content

#d2cecc

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

RGB
210, 206, 204
HSL
20°, 6%, 81%
CMYK
0, 2, 3, 18
Luminance
0.6220

Every format

HEX#d2cecc
RGBrgb(210, 206, 204)
HSLhsl(20, 6%, 81%)
CMYKcmyk(0%, 2%, 3%, 18%)
LABlab(83.0 1.0 1.5)
LCHlch(83.0 1.8 55.4)
OKLCHoklch(0.854 0.005 48.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cecc on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#d2cecc on black: 13.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.8%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow2.9%
Key (black)17.6%

Color previews

#d2cecc text on a black background

contrast 13.44:1

Card sample

#d2cecc text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cecc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cecc in the Color Lab