#AF8CB5 Color

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

Color preview

#AF8CB5

Color formats

HEX
#AF8CB5
RGB
rgb(175, 140, 181)
RGBA
rgba(175, 140, 181, 1)
HSL
hsl(291, 22%, 63%)
HSV
hsv(291, 23%, 71%)
CMYK
cmyk(3%, 23%, 0%, 29%)
CSS variable
--color-primary: #AF8CB5;
Lowercase HEX
#af8cb5

Shades

Tints

Tones

Harmony

CSS snippets for #AF8CB5

.color-af8cb5 {
  color: #AF8CB5;
  background-color: #AF8CB5;
}

Frequently asked questions

What color is #AF8CB5?+

#AF8CB5 is a HEX color with RGB value rgb(175, 140, 181) and HSL value hsl(291, 22%, 63%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AF8CB5?+

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