Skip to content

#d2cecb

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

RGB
210, 206, 203
HSL
26°, 7%, 81%
CMYK
0, 2, 3, 18
Luminance
0.6216

Every format

HEX#d2cecb
RGBrgb(210, 206, 203)
HSLhsl(26, 7%, 81%)
CMYKcmyk(0%, 2%, 3%, 18%)
LABlab(83.0 0.8 2.0)
LCHlch(83.0 2.1 67.0)
OKLCHoklch(0.854 0.006 59.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green80.8%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow3.3%
Key (black)17.6%

Color previews

#d2cecb text on a black background

contrast 13.43:1

Card sample

#d2cecb text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cecb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cecb in the Color Lab