#DCDCDC

#DCDCDC is the hex color Gainsboro. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #DCDCDC; the exact match is Gainsboro.

Open #DCDCDC in the picker

#DCDCDC color codes

HEX
#DCDCDC
HEX8
#DCDCDCFF
HEX8 (Android)
#FFDCDCDC
RGB
rgb(220, 220, 220)
RGB (%)
86%, 86%, 86%
HSL
hsl(0, 0%, 86%)
HSV / HSB
hsv(0, 0%, 86%)
CMYK
cmyk(0%, 0%, 0%, 14%)
OKLCH
oklch(0.8945 0 0)
OKLCH (%)
oklch(89.45% 0 0)
Decimal
14474460

What color is #DCDCDC?

#DCDCDC sits at 89% lightness and 0 chroma in OKLCH, hue 0°. Its nearest named color is Gainsboro (an exact match).

Shades and tints of #DCDCDC

Tints

Shades

Tones

#DCDCDC color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #DCDCDC in CSS

.text       { color: #DCDCDC; }
.background { background-color: #DCDCDC; }
.border     { border: 2px solid #DCDCDC; }

/* Modern, perceptually uniform */
.text { color: oklch(0.8945 0 0); }

/* #DCDCDC at 50% transparency */
.overlay { background-color: #DCDCDC80; }

Is #DCDCDC accessible?

#DCDCDC on white text scores 1.37:1; on black text it scores 15.31:1. Black text passes WCAG AAA on #DCDCDC. Recommended text color on a #DCDCDC background: black.

A 15.31:1 vs black
A 1.37:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#DCDCDC) → black
APCA Lc experimental 85.5 Lc · body text (black text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

See more in the gray family on the colors hub.

Frequently asked questions

What color is #DCDCDC?
#DCDCDC is Gainsboro. In RGB it is rgb(220, 220, 220), and in HSL hsl(0, 0%, 86%).
What is #DCDCDC in RGB?
#DCDCDC converts to rgb(220, 220, 220) — red 220, green 220, blue 220.
What text color is readable on #DCDCDC?
Black text — it has the higher contrast ratio (15.31:1) against #DCDCDC. Black text passes WCAG AAA on #DCDCDC.
Open #DCDCDC in the picker