#AFA1CB Color

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

Color preview

#AFA1CB

Color formats

HEX
#AFA1CB
RGB
rgb(175, 161, 203)
RGBA
rgba(175, 161, 203, 1)
HSL
hsl(260, 29%, 71%)
HSV
hsv(260, 21%, 80%)
CMYK
cmyk(14%, 21%, 0%, 20%)
CSS variable
--color-primary: #AFA1CB;
Lowercase HEX
#afa1cb

Shades

Tints

Tones

Harmony

CSS snippets for #AFA1CB

.color-afa1cb {
  color: #AFA1CB;
  background-color: #AFA1CB;
}

Frequently asked questions

What color is #AFA1CB?+

#AFA1CB is a HEX color with RGB value rgb(175, 161, 203) and HSL value hsl(260, 29%, 71%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #AFA1CB?+

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