Skip to content
Color Codes

CSS named color

DimGray Color Code

DimGray is a medium gray with the hex code #696969. In RGB it is rgb(105, 105, 105), in HSL hsl(0, 0%, 41%) and in CMYK cmyk(0%, 0%, 0%, 59%).

DimGray
#696969

Color values

In CSS you can write it as the keyword dimgray.

White text on DimGray has a contrast ratio of 5.49:1 and black text 3.83:1, so white text is the more readable choice.

The closest Tailwind CSS color is Stone 500 (#78716C).

Use DimGray in CSS

.element {
  color: dimgray;
  background-color: #696969;
  border-color: rgb(105, 105, 105);
}

Tints and shades of DimGray

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with DimGray

Color-wheel harmonies built from #696969. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on DimGray

Aa
White text
5.49:1
AA
Aa
Black text
3.83:1
AA · Large text
Check in the contrast checker

Colors similar to DimGray

Palettes with similar colors

Questions about DimGray

What is the hex code for DimGray?

The hex code for DimGray is #696969. Its RGB value is rgb(105, 105, 105) and its HSL value is hsl(0, 0%, 41%).

What colors go with DimGray?

The complementary color of DimGray is undefined. For a softer scheme try the analogous colors ; for a balanced three-color scheme use the triadic colors .

Is DimGray readable as a text color?

On a white background DimGray has a contrast ratio of 5.49:1, which passes WCAG AA for normal text (4.5:1). On black it reaches 3.83:1.

More gray colors