Skip to main content
matte

#DDDDDD

Gray 14

#DDDDDD is the CSS named color "gainsboro", an exact match. In RGB it breaks down to red 221, green 221, and blue 221 out of 255 each. In HSL terms that's a hue of 0°, 0% saturation, and 87% 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#dddddd
RGBrgb(221, 221, 221)
HSLhsl(0° 0% 87%)
HSBhsb(0° 0% 87%)
OKLCHoklch(90% 0.000 0°)
OKLABoklab(90% 0.000 0.000)
LCHlch(88% 0.0 0°)
CMYKcmyk(0% 0% 0% 13%)

Shades (darker)

#dddddd · #c6c6c6 · #afafaf · #999999 · #838383

Tints (lighter)

#dddddd · #e0e0e0 · #e4e4e4 · #e7e7e7 · #eaeaea

Shades mix #DDDDDD 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.36:1 — fails
On black: 15.46:1 — AAA

Frequently asked

What is #DDDDDD in RGB?
#DDDDDD is rgb(221, 221, 221) — red 221, green 221, blue 221 out of 255 each.
Does #DDDDDD pass WCAG contrast on a white background?
It has a contrast ratio of 1.36:1 against white, which fails for normal text.
What's a good background color to pair with #DDDDDD?
Black text or a black background gives better contrast (15.46:1) than white (1.36:1).

Related colors

Full color tools