#AF1796 Color

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

Color preview

#AF1796

Color formats

HEX
#AF1796
RGB
rgb(175, 23, 150)
RGBA
rgba(175, 23, 150, 1)
HSL
hsl(310, 77%, 39%)
HSV
hsv(310, 87%, 69%)
CMYK
cmyk(0%, 87%, 14%, 31%)
CSS variable
--color-primary: #AF1796;
Lowercase HEX
#af1796

Shades

Tints

Tones

Harmony

CSS snippets for #AF1796

.color-af1796 {
  color: #AF1796;
  background-color: #AF1796;
}

Frequently asked questions

What color is #AF1796?+

#AF1796 is a HEX color with RGB value rgb(175, 23, 150) and HSL value hsl(310, 77%, 39%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #AF1796?+

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