#AF1D97 Color

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

Color preview

#AF1D97

Color formats

HEX
#AF1D97
RGB
rgb(175, 29, 151)
RGBA
rgba(175, 29, 151, 1)
HSL
hsl(310, 72%, 40%)
HSV
hsv(310, 83%, 69%)
CMYK
cmyk(0%, 83%, 14%, 31%)
CSS variable
--color-primary: #AF1D97;
Lowercase HEX
#af1d97

Shades

Tints

Tones

Harmony

CSS snippets for #AF1D97

.color-af1d97 {
  color: #AF1D97;
  background-color: #AF1D97;
}

Frequently asked questions

What color is #AF1D97?+

#AF1D97 is a HEX color with RGB value rgb(175, 29, 151) and HSL value hsl(310, 72%, 40%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #AF1D97?+

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