#CCCCCC color

#CCCCCC is rgb(204, 204, 204) in RGB and hsl(0, 0%, 80%) in HSL. The closest CSS named color is lightgray (#d3d3d3, ΔE 1.7). Use black text on it (contrast 13.08:1).

#CCCCCCred
HEX#CCCCCC
Short HEX#CCC
RGBrgb(204, 204, 204)
RGB percentrgb(80%, 80%, 80%)
HSLhsl(0, 0%, 80%)
HSV / HSBhsv(0, 0%, 80%)
CMYKcmyk(0%, 0%, 0%, 20%)

Edit in the color converter → · Check contrast → · Shades →

About #CCCCCC

#CCCCCC is a pale, neutral gray. It belongs to the gray family and reads as a neutral color. All three channels are equal (204), so it is a pure gray at 80% brightness with no hue at all. Colors like this are typically used for borders, secondary text, dividers and neutral UI.

Color conversions

HEX#CCCCCC
Short HEX#CCC
RGBrgb(204, 204, 204)
RGB percentrgb(80%, 80%, 80%)
HSLhsl(0, 0%, 80%)
HSV / HSBhsv(0, 0%, 80%)
CMYKcmyk(0%, 0%, 0%, 20%)
CIELAB (D65)lab(82 0 0)
Decimal13421772
Binary11001100 11001100 11001100

HEX CC CC CC → 204, 204, 204 (each pair is a base-16 number: C×16 + C = 204)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #CCCCCC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CCCCCCRatioAA normalAA largeAAA normalAAA large
White text1.61:1FailFailFailFail
Black text13.08:1PassPassPassPass
White text on #CCCCCC
Black text on #CCCCCC
#CCCCCC text on white
#CCCCCC text on black

Relative luminance is 0.6038 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#cccccc

Deuteranopia
#cccccc

Tritanopia
#cccccc

Achromatopsia
#cccccc

People with red–green color blindness see this color almost unchanged (ΔE 0 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
lightgray#d3d3d31.7
silver#c0c0c03
gainsboro#dcdcdc3.8
whitesmoke#f5f5f59.1

Nearby colors

CSS

.element {
  color: #cccccc;
  background-color: rgb(204, 204, 204);
  border: 1px solid hsl(0, 0%, 80%);
  box-shadow: 0 2px 8px rgb(204 204 204 / 50%);
}
:root { --brand: #cccccc; }

Frequently asked questions

What color is #CCCCCC?
A pale neutral gray in the gray family. Closest CSS name: lightgray.
What is #CCCCCC in RGB?
rgb(204, 204, 204): red 204, green 204, blue 204.
What is the complementary color of #CCCCCC?
#CCCCCC, found by rotating the hue 180°.