Gainsboro Color

HEX, RGB, HSL & CMYK Codes

#dcdcdc
Format Value
HEX #dcdcdc
RGB rgb(220, 220, 220)
HSL hsl(0, 0%, 86.3%)
CMYK cmyk(0%, 0%, 0%, 13.7%)
HSV hsv(0, 0%, 86.3%)

gainsboro color harmonies

Tints & shades of gainsboro

Tints (lighter)

#dfdfdf #e2e2e2 #e6e6e6 #e9e9e9 #ececec #efefef #f2f2f2 #f5f5f5 #f9f9f9 #fcfcfc

Shades (darker)

#c8c8c8 #b4b4b4 #a0a0a0 #8c8c8c #787878 #646464 #505050 #3c3c3c #282828 #141414

Contrast & accessibility

The quick brown fox

On white · 1.37:1 · Fail

The quick brown fox

On black · 15.31:1 · AAA

Recommended text color: #000000

Use gainsboro in code

CSS color: #dcdcdc;
SCSS $color: #dcdcdc;
Tailwind bg-[#dcdcdc]
Swift UIColor(red: 0.863, green: 0.863, blue: 0.863, alpha: 1)
Android Color.parseColor("#dcdcdc")
Flutter Color(0xFFDCDCDC)

Colors similar to gainsboro

Browse all Gray & neutral colors →

What is the HEX code for gainsboro?

The CSS color gainsboro in HEX format is #dcdcdc. Use this value directly in CSS, SVG, and most design tools.

How do I use gainsboro in CSS?

To apply gainsboro in CSS:

  • Text color: color: #dcdcdc;
  • Background: background-color: #dcdcdc;
  • Border: border-color: #dcdcdc;

What are all the color format values for gainsboro?

FormatValue
HEX#dcdcdc
RGBrgb(220, 220, 220)
HSLhsl(0, 0%, 86.3%)
CMYKcmyk(0%, 0%, 0%, 13.7%)

How do I convert gainsboro to HEX?

Select gainsboro from the color name list in our color converter. The HEX value — #dcdcdc — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does gainsboro belong to?

gainsboro belongs to the neutral (gray) color family. It is a light, muted color with HSL values: hue 0°, saturation 0%, lightness 86.3%.

How do I create lighter and darker shades of gainsboro?

Lighter variant (lightness 95%): #f2f2f2. Darker variant (lightness 71.3%): #b6b6b6. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.