#AFAFB8 Color

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

Color preview

#AFAFB8

Color formats

HEX
#AFAFB8
RGB
rgb(175, 175, 184)
RGBA
rgba(175, 175, 184, 1)
HSL
hsl(240, 6%, 70%)
HSV
hsv(240, 5%, 72%)
CMYK
cmyk(5%, 5%, 0%, 28%)
CSS variable
--color-primary: #AFAFB8;
Lowercase HEX
#afafb8

Shades

Tints

Tones

Harmony

CSS snippets for #AFAFB8

.color-afafb8 {
  color: #AFAFB8;
  background-color: #AFAFB8;
}

Frequently asked questions

What color is #AFAFB8?+

#AFAFB8 is a HEX color with RGB value rgb(175, 175, 184) and HSL value hsl(240, 6%, 70%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFAFB8?+

The closest Tailwind color is gray-400, available as the bg-gray-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