Colors

#DCDCDC

Gainsboro

Gainsboro is #DCDCDC. In CSS you can write it as the keyword gainsboro. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

HEX
#DCDCDC
RGB
rgb(220, 220, 220)
HSL
hsl(0,0%,86%)
HSV
hsv(0, 0%, 86%)
CMYK
cmyk(0,0,0,14)
OKLCH
oklch(89.4% 0.000 0.0)

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#E3E3E3

20% white

#EAEAEA

40% white

#F1F1F1

60% white

#F8F8F8

80% white

Shades

#B0B0B0

20% black

#848484

40% black

#585858

60% black

#2C2C2C

80% black

Harmony palettes

These schemes rotate hue from Gainsboro. Read the relationships in color theory 101 or adjust them on the color wheel.

#DBDBDB

#DBDBDB

#FFFFFF

#FFFFFF

#B5B5B5

#DBDBDB

#DBDBDB

#DBDBDB

#DBDBDB

#DBDBDB

#DBDBDB

#DBDBDB

#DBDBDB

#FFFFFF

#C2C2C2

Split Complementary

Open in palette generator

#DBDBDB

#DBDBDB

#DBDBDB

#FFFFFF

#B5B5B5

#333333

#595959

#808080

#A6A6A6

#CCCCCC

#DBDBDB

#DBDBDB

#DBDBDB

#DBDBDB

#FAFAFA

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 1.37:1
AA normal text Fail
AA large text Fail
AAA normal text Fail
AAA large text Fail
On black · 15.31:1
AA normal text Pass
AA large text Pass
AAA normal text Pass
AAA large text Pass

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color