TintShelf
Interface

Gainsboro Color Code: Hex #DCDCDC

The hex code for Gainsboro is #DCDCDC (the CSS keyword gainsboro). Gainsboro RGB code: rgb(220, 220, 220).

CSS Color 4, meodai color-name-list#DCDCDCThe same code in all 2 lists

Gainsboro color codes: the Gainsboro hex code in every format

HEX#DCDCDC
RGBrgb(220, 220, 220)
HSLhsl(0, 0%, 86%)
OKLCHoklch(89.4% 0.000 0.0)
LABlab(87.8 0.0 0.0)
CMYKcmyk(0%, 0%, 0%, 14%)

Sources

CSS Color 4web standard keyword
meodai color-name-listopen community list

Properties

Hex codes
the same in all 2 color lists
Family
gray
Contrast
1.37:1 with white, 15.31:1 with black
CSS keyword
gainsboro
Character
light, near-neutral
Readable text on it
black (AA)

Gainsboro was not in the original 1987 X11 list; it arrived with Paul Raveling’s additions of light and off-white colors copied from Sinclair Paints samples.

A light, almost neutral tint. In code, gainsboro gives exactly this hex value. Every list that includes the name agrees on it, so there is only one code to remember.

Black text reads best on it; white text does not pass WCAG AA. Light versions fade to white quickly, so for backgrounds use it near full strength. Next to Light Gray, its closest named neighbour, it looks lighter, about as saturated and neither warmer nor cooler; beside White Smoke it looks darker, about as saturated and neither warmer nor cooler. It is one of the lightest of the gray family here.

Colors that go with Gainsboro

Complementary: the opposite of Gainsboro

Open in generator

  • #DCDCDCBlack text 15.31:1
  • #DCDCDCBlack text 15.31:1
  • #ECECECBlack text 17.78:1
  • #888888Black text 5.92:1

Analogous

Open in generator

  • #DCDCDCBlack text 15.31:1
  • #DCDCDCBlack text 15.31:1
  • #DCDCDCBlack text 15.31:1
  • #F1F1F1Black text 18.59:1

Triadic

Open in generator

  • #DCDCDCBlack text 15.31:1
  • #DCDCDCBlack text 15.31:1
  • #DCDCDCBlack text 15.31:1
  • #F6F6F6Black text 19.43:1

Monochrome

Open in generator

  • #3C3C3CWhite text 11.03:1
  • #888888Black text 5.92:1
  • #DCDCDCBlack text 15.31:1
  • #E6E6E6Black text 16.83:1
  • #F1F1F1Black text 18.59:1

With neutrals

Open in generator

  • #DCDCDCBlack text 15.31:1
  • #F6F6F6Black text 19.43:1
  • #1B1B1BWhite text 17.22:1
  • #9B9B9BBlack text 7.56:1

How tints, shades and harmonies are calculated

Preview

Heading on Gainsboro

Body text on this color, 15.31:1.

Button

Heading in Gainsboro

Text in this color on white, 1.37:1.

Button

Tints and shades

  1. #F6F6F6
  2. #F1F1F1
  3. #ECECEC
  4. #E6E6E6
  5. #E1E1E1
  6. #DCDCDC
  7. #B1B1B1
  8. #888888
  9. #616161
  10. #3C3C3C
  11. #1B1B1B

WhiteGainsboroBlack

Similar named colors

Where the name comes from

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.