#DCDCDC
gainsboro
#DCDCDC is the CSS named color "gainsboro", an exact match. In RGB it breaks down to red 220, green 220, and blue 220 out of 255 each. In HSL terms that's a hue of 0°, 0% saturation, and 86% lightness: very light, close to white — it works best as a background with dark text on top, not as text on a light page.
Every format
| HEX | #dcdcdc |
| RGB | rgb(220, 220, 220) |
| HSL | hsl(0° 0% 86%) |
| HSB | hsb(0° 0% 86%) |
| OKLCH | oklch(89% 0.000 0°) |
| OKLAB | oklab(89% 0.000 0.000) |
| LCH | lch(88% 0.0 0°) |
| CMYK | cmyk(0% 0% 0% 14%) |
Shades (darker)
#dcdcdc · #c5c5c5 · #aeaeae · #989898 · #828282
Tints (lighter)
#dcdcdc · #dfdfdf · #e3e3e3 · #e6e6e6 · #eaeaea
Shades mix #DCDCDC toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 1.37:1 — fails
On black: 15.31:1 — AAA
Frequently asked
- What is #DCDCDC in RGB?
- #DCDCDC is rgb(220, 220, 220) — red 220, green 220, blue 220 out of 255 each.
- Does #DCDCDC pass WCAG contrast on a white background?
- It has a contrast ratio of 1.37:1 against white, which fails for normal text.
- What's a good background color to pair with #DCDCDC?
- Black text or a black background gives better contrast (15.31:1) than white (1.37:1).