#AF2872 Color

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

Color preview

#AF2872

Color formats

HEX
#AF2872
RGB
rgb(175, 40, 114)
RGBA
rgba(175, 40, 114, 1)
HSL
hsl(327, 63%, 42%)
HSV
hsv(327, 77%, 69%)
CMYK
cmyk(0%, 77%, 35%, 31%)
CSS variable
--color-primary: #AF2872;
Lowercase HEX
#af2872

Shades

Tints

Tones

Harmony

CSS snippets for #AF2872

.color-af2872 {
  color: #AF2872;
  background-color: #AF2872;
}

Frequently asked questions

What color is #AF2872?+

#AF2872 is a HEX color with RGB value rgb(175, 40, 114) and HSL value hsl(327, 63%, 42%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #AF2872?+

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