#AF508C Color

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

Color preview

#AF508C

Color formats

HEX
#AF508C
RGB
rgb(175, 80, 140)
RGBA
rgba(175, 80, 140, 1)
HSL
hsl(322, 37%, 50%)
HSV
hsv(322, 54%, 69%)
CMYK
cmyk(0%, 54%, 20%, 31%)
CSS variable
--color-primary: #AF508C;
Lowercase HEX
#af508c

Shades

Tints

Tones

Harmony

CSS snippets for #AF508C

.color-af508c {
  color: #AF508C;
  background-color: #AF508C;
}

Frequently asked questions

What color is #AF508C?+

#AF508C is a HEX color with RGB value rgb(175, 80, 140) and HSL value hsl(322, 37%, 50%). Its closest CSS named color is PaleVioletRed.

What is the closest Tailwind color to #AF508C?+

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