#CDC8CA

A color in the Black, Gray, White family

#cdc8ca is a color in the Black, Gray, White family: RGB(205, 200, 202), HSL(336°, 5%, 79%), CMYK(0%, 2%, 1%, 20%). Closest named color: lightgray. Contrast is 1.65:1 on white and 12.71:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cdc8ca
RGBrgb(205 200 202)
RGB (legacy)rgb(205, 200, 202)
RGB %rgb(80% 78% 79%)
HSLhsl(336 5% 79%)
HSV / HSBhsv(336, 2%, 80%)
HWBhwb(336 78% 20%)
CMYKcmyk(0%, 2%, 1%, 20%)
CIELAB (D50)lab(81.05 2.06 -0.35)
LCHlch(81.05 2.09 350.26)
OKLaboklab(0.8374 0.0061 -0.001)
OKLCHoklch(0.8374 0.0062 350.83)
Decimal13486282

Properties

Color ToneBlack, Gray, White
Closest named colorlightgray ΔE 3
Closest web-safe color#cccccc
Hue336°
Saturation (HSL / HSV)5% / 2%
Lightness (HSL)79%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)79% / 79%
Relative luminance (WCAG)0.5855
Red / Green / Blue205 / 200 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.71: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 28.9 / -74 · As background with white / black text: Lc -32.5 / 75

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: #cdc8ca;
  --color-brand-oklch: oklch(83.74% 0.0062 350.83);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 200 202 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdc8ca] text-[#cdc8ca] border-[#cdc8ca]">