Gainsboro Color
NeutralsA pale gray named after Gainsborough, England, and associated with the silvery tones favored by portrait painter Thomas Gainsborough.
Conversions
#dcdcdc
rgb(220, 220, 220)
hsl(0, 0%, 86.3%)
hsv(0, 0%, 86.3%)
cmyk(0%, 0%, 0%, 13.7%)
lab(87.76, -0, 0)
lch(87.76, 0, 180)
oklch(89.5%, 0, 0)
hwb(0, 86.3%, 13.7%)
Harmony colors
Accessibility
Black text reads better on this background (15.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#dcdcdc · ΔE 0
Deuteranopia
#dcdcdc · ΔE 0
Tritanopia
#dcdcdc · ΔE 0
Achromatopsia
#dcdcdc · ΔE 0
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #dcdcdc;
bg-[#dcdcdc]
Related colors
Frequently asked questions
Gainsboro (#dcdcdc) is rgb(220, 220, 220) in RGB.
No, #dcdcdc is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #dcdcdc, or check how it holds up for accessibility.