#D2CDCD
A color in the Black, Gray, White family
#d2cdcd is a color in the Black, Gray, White family: RGB(210, 205, 205), HSL(0°, 5%, 81%), CMYK(0%, 2%, 2%, 18%). Closest named color: lightgray. Contrast is 1.57:1 on white and 13.35:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #d2cdcd |
|---|---|
| RGB | rgb(210 205 205) |
| RGB (legacy) | rgb(210, 205, 205) |
| RGB % | rgb(82% 80% 80%) |
| HSL | hsl(0 5% 81%) |
| HSV / HSB | hsv(0, 2%, 82%) |
| HWB | hwb(0 80% 18%) |
| CMYK | cmyk(0%, 2%, 2%, 18%) |
| CIELAB (D50) | lab(82.81 1.79 0.64) |
| LCH | lch(82.81 1.9 19.84) |
| OKLab | oklab(0.8523 0.0053 0.0016) |
| OKLCH | oklch(0.8523 0.0055 17.27) |
| Decimal | 13815245 |
Properties
| Color Tone | Black, Gray, White |
|---|---|
| Closest named color | lightgray ΔE 1.6 |
| Closest web-safe color | #cccccc |
| Hue | 0° |
| Saturation (HSL / HSV) | 5% / 2% |
| Lightness (HSL) | 81% |
| Brightness or Value (HSV) | 82% |
| Luminance (Rec.601 / Rec.709) | 81% / 81% |
| Relative luminance (WCAG) | 0.6177 |
| Red / Green / Blue | 210 / 205 / 205 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
1.57:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.35: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 26.1 / -76.9 · As background with white / black text: Lc -29.5 / 77.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
Complementary
Split Complementary
Analogous
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: #d2cdcd;
--color-brand-oklch: oklch(85.23% 0.0055 17.27);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 205 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d2cdcd] text-[#d2cdcd] border-[#d2cdcd]">