#AF8CB1 Color

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

Color preview

#AF8CB1

Color formats

HEX
#AF8CB1
RGB
rgb(175, 140, 177)
RGBA
rgba(175, 140, 177, 1)
HSL
hsl(297, 19%, 62%)
HSV
hsv(297, 21%, 69%)
CMYK
cmyk(1%, 21%, 0%, 31%)
CSS variable
--color-primary: #AF8CB1;
Lowercase HEX
#af8cb1

Shades

Tints

Tones

Harmony

CSS snippets for #AF8CB1

.color-af8cb1 {
  color: #AF8CB1;
  background-color: #AF8CB1;
}

Frequently asked questions

What color is #AF8CB1?+

#AF8CB1 is a HEX color with RGB value rgb(175, 140, 177) and HSL value hsl(297, 19%, 62%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AF8CB1?+

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