Gainsboro color #DCDCDC
Gainsboro is one of the CSS named colors (keyword gainsboro) with the hex code #DCDCDC — RGB 220, 220, 220, HSL 0°, 0%, 86%.
#DCDCDCGainsboro
Color codes
- HEX
#DCDCDC- RGB
rgb(220, 220, 220)- HSL
hsl(0, 0%, 86%)- CMYK
0%, 0%, 0%, 14%- OKLCH
oklch(89.4% 0 0)- CSS keyword
gainsboro
Tints and shades
#F5F5F5#DADADA#BFBFBF#A6A6A6#8D8D8D#747474#5D5D5D#464646#313131#1D1D1D#0B0B0B
Color harmonies
Complementary
#DCDCDC#DCDCDC
Analogous
#DCDCDC#DCDCDC#DCDCDC
Triadic
#DCDCDC#DCDCDC#DCDCDC
Split complementary
#DCDCDC#DCDCDC#DCDCDC
Tetradic
#DCDCDC#DCDCDC#DCDCDC#DCDCDC
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Gainsboro text on white | 1.37 : 1 | 18 | Fails for text |
| Gainsboro text on black | 15.31 : 1 | -85 | AAA — any text |
| White text on Gainsboro | 1.37 : 1 | -21 | Fails for text |
| Black text on Gainsboro | 15.31 : 1 | 86 | AAA — any text |
Palettes with this color
- Reddy Brown & Gainsboro
- Burgundy & Gainsboro
- Chestnut & Gainsboro
- Hunter Green & Gainsboro
- Dusty Lavender & Eggplant
- Light Blue Grey & Charcoal Grey
Frequently asked questions
What is the hex code of Gainsboro?
Gainsboro has the hex code #DCDCDC, which is RGB 220, 220, 220 and HSL 0°, 0%, 86%.
Which text color reads best on Gainsboro?
Black text: contrast 15.31 : 1 (white text: 1.37 : 1).
Which colors go well with Gainsboro?
Its complementary color is #DCDCDC; analogous colors are #DCDCDC and #DCDCDC; a triadic set adds #DCDCDC and #DCDCDC.
Similar colors
- Light Gray #D3D3D3
- Lavender #E6E6FA
- Powder Blue #B0E0E6
- Misty Rose #FFE4E1
- Pale Pink #FFCFDC
- Antique White #FAEBD7
- Light Blue #ADD8E6
- Peach Puff #FFDAB9
- Wheat #F5DEB3
- Bisque #FFE4C4
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)