#AF1D8B Color

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

Color preview

#AF1D8B

Color formats

HEX
#AF1D8B
RGB
rgb(175, 29, 139)
RGBA
rgba(175, 29, 139, 1)
HSL
hsl(315, 72%, 40%)
HSV
hsv(315, 83%, 69%)
CMYK
cmyk(0%, 83%, 21%, 31%)
CSS variable
--color-primary: #AF1D8B;
Lowercase HEX
#af1d8b

Shades

Tints

Tones

Harmony

CSS snippets for #AF1D8B

.color-af1d8b {
  color: #AF1D8B;
  background-color: #AF1D8B;
}

Frequently asked questions

What color is #AF1D8B?+

#AF1D8B is a HEX color with RGB value rgb(175, 29, 139) and HSL value hsl(315, 72%, 40%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #AF1D8B?+

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