#AF287D Color

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

Color preview

#AF287D

Color formats

HEX
#AF287D
RGB
rgb(175, 40, 125)
RGBA
rgba(175, 40, 125, 1)
HSL
hsl(322, 63%, 42%)
HSV
hsv(322, 77%, 69%)
CMYK
cmyk(0%, 77%, 29%, 31%)
CSS variable
--color-primary: #AF287D;
Lowercase HEX
#af287d

Shades

Tints

Tones

Harmony

CSS snippets for #AF287D

.color-af287d {
  color: #AF287D;
  background-color: #AF287D;
}

Frequently asked questions

What color is #AF287D?+

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

What is the closest Tailwind color to #AF287D?+

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