#DFDCD9

A color in the Black, Gray, White family

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

Color Codes

HEX#dfdcd9
RGBrgb(223 220 217)
RGB (legacy)rgb(223, 220, 217)
RGB %rgb(87% 86% 85%)
HSLhsl(30 9% 86%)
HSV / HSBhsv(30, 3%, 87%)
HWBhwb(30 85% 13%)
CMYKcmyk(0%, 1%, 3%, 13%)
CIELAB (D50)lab(87.94 0.66 1.86)
LCHlch(87.94 1.97 70.41)
OKLaboklab(0.896 0.002 0.0048)
OKLCHoklch(0.896 0.0052 67.76)
Decimal14671065

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.38: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 17.9 / -85.7 · As background with white / black text: Lc -20.5 / 85.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: #dfdcd9;
  --color-brand-oklch: oklch(89.6% 0.0052 67.76);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 220 217 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfdcd9] text-[#dfdcd9] border-[#dfdcd9]">