#AFA2A2 Color

Inspect #AFA2A2 across formats, palettes, contrast and closest named color matches.

Color preview

#AFA2A2

Color formats

HEX
#AFA2A2
RGB
rgb(175, 162, 162)
RGBA
rgba(175, 162, 162, 1)
HSL
hsl(0, 8%, 66%)
HSV
hsv(0, 7%, 69%)
CMYK
cmyk(0%, 7%, 7%, 31%)
CSS variable
--color-primary: #AFA2A2;
Lowercase HEX
#afa2a2

Shades

Tints

Tones

Harmony

CSS snippets for #AFA2A2

.color-afa2a2 {
  color: #AFA2A2;
  background-color: #AFA2A2;
}

Frequently asked questions

What color is #AFA2A2?+

#AFA2A2 is a HEX color with RGB value rgb(175, 162, 162) and HSL value hsl(0, 8%, 66%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA2A2?+

The closest Tailwind color is stone-400, available as the bg-stone-400 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools