#DFD9DC

A color in the Black, Gray, White family

#dfd9dc is a color in the Black, Gray, White family: RGB(223, 217, 220), HSL(330°, 9%, 86%), CMYK(0%, 3%, 1%, 13%). Closest named color: gainsboro. Contrast is 1.39:1 on white and 15.1:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd9dc
RGBrgb(223 217 220)
RGB (legacy)rgb(223, 217, 220)
RGB %rgb(87% 85% 86%)
HSLhsl(330 9% 86%)
HSV / HSBhsv(330, 3%, 87%)
HWBhwb(330 85% 13%)
CMYKcmyk(0%, 3%, 1%, 13%)
CIELAB (D50)lab(87.24 2.52 -0.71)
LCHlch(87.24 2.62 344.18)
OKLaboklab(0.8909 0.0074 -0.0019)
OKLCHoklch(0.8909 0.0077 345.37)
Decimal14670300

Properties

Color ToneBlack, Gray, White
Closest named colorgainsboro ΔE 0.8
Closest web-safe color#cccccc
Hue330°
Saturation (HSL / HSV)9% / 3%
Lightness (HSL)86%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)86% / 86%
Relative luminance (WCAG)0.7048
Red / Green / Blue223 / 217 / 220

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.10: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 / -84.5 · As background with white / black text: Lc -21.7 / 84.7

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: #dfd9dc;
  --color-brand-oklch: oklch(89.09% 0.0077 345.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 217 220 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd9dc] text-[#dfd9dc] border-[#dfd9dc]">