#DCD8D9

A color in the Black, Gray, White family

#dcd8d9 is a color in the Black, Gray, White family: RGB(220, 216, 217), HSL(345°, 5%, 85%), CMYK(0%, 2%, 1%, 14%). Closest named color: gainsboro. Contrast is 1.41:1 on white and 14.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dcd8d9
RGBrgb(220 216 217)
RGB (legacy)rgb(220, 216, 217)
RGB %rgb(86% 85% 85%)
HSLhsl(345 5% 85%)
HSV / HSBhsv(345, 2%, 86%)
HWBhwb(345 85% 14%)
CMYKcmyk(0%, 2%, 1%, 14%)
CIELAB (D50)lab(86.68 1.55 0.02)
LCHlch(86.68 1.55 0.57)
OKLaboklab(0.8857 0.0046 0)
OKLCHoklch(0.8857 0.0046 0.01)
Decimal14473433

Properties

Color ToneBlack, Gray, White
Closest named colorgainsboro ΔE 1
Closest web-safe color#cccccc
Hue345°
Saturation (HSL / HSV)5% / 2%
Lightness (HSL)85%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)85% / 85%
Relative luminance (WCAG)0.6934
Red / Green / Blue220 / 216 / 217

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 19.9 / -83.5 · As background with white / black text: Lc -22.7 / 83.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #dcd8d9;
  --color-brand-oklch: oklch(88.57% 0.0046 0.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(220 216 217 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dcd8d9] text-[#dcd8d9] border-[#dcd8d9]">