#AF287F Color

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

Color preview

#AF287F

Color formats

HEX
#AF287F
RGB
rgb(175, 40, 127)
RGBA
rgba(175, 40, 127, 1)
HSL
hsl(321, 63%, 42%)
HSV
hsv(321, 77%, 69%)
CMYK
cmyk(0%, 77%, 27%, 31%)
CSS variable
--color-primary: #AF287F;
Lowercase HEX
#af287f

Shades

Tints

Tones

Harmony

CSS snippets for #AF287F

.color-af287f {
  color: #AF287F;
  background-color: #AF287F;
}

Frequently asked questions

What color is #AF287F?+

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

What is the closest Tailwind color to #AF287F?+

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