Skip to content
Vectorlight.net

gainsboro (#dcdcdc)

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#dcdcdc
RGB
220, 220, 220
HSL
0°, 0%, 86.27%
OKLCH
0.89 0 89.88
Names
gainsboro
Lists

Codes

FormatValue
HEX#dcdcdc
RGBrgb(220 220 220)
HSLhsl(0 0% 86.27%)
OKLCHoklch(0.89 0 89.88)
CMYKcmyk(0% 0% 0% 13.73%)
Android#ffdcdcdc

Names & lists

gainsboro CSS named

Web-safe: No

Tailwind: No

Contrast

Aa
1.37:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.31:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#dcdcdc"
Gradient stop
<stop stop-color="#dcdcdc"/>
CSS variable + fill
:root { --c: #dcdcdc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #dcdcdc;
background-color: #dcdcdc;
bg-[#dcdcdc]