#AF287B Color

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

Color preview

#AF287B

Color formats

HEX
#AF287B
RGB
rgb(175, 40, 123)
RGBA
rgba(175, 40, 123, 1)
HSL
hsl(323, 63%, 42%)
HSV
hsv(323, 77%, 69%)
CMYK
cmyk(0%, 77%, 30%, 31%)
CSS variable
--color-primary: #AF287B;
Lowercase HEX
#af287b

Shades

Tints

Tones

Harmony

CSS snippets for #AF287B

.color-af287b {
  color: #AF287B;
  background-color: #AF287B;
}

Frequently asked questions

What color is #AF287B?+

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

What is the closest Tailwind color to #AF287B?+

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