#AD1F8A Color

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

Color preview

#AD1F8A

Color formats

HEX
#AD1F8A
RGB
rgb(173, 31, 138)
RGBA
rgba(173, 31, 138, 1)
HSL
hsl(315, 70%, 40%)
HSV
hsv(315, 82%, 68%)
CMYK
cmyk(0%, 82%, 20%, 32%)
CSS variable
--color-primary: #AD1F8A;
Lowercase HEX
#ad1f8a

Shades

Tints

Tones

Harmony

CSS snippets for #AD1F8A

.color-ad1f8a {
  color: #AD1F8A;
  background-color: #AD1F8A;
}

Frequently asked questions

What color is #AD1F8A?+

#AD1F8A is a HEX color with RGB value rgb(173, 31, 138) and HSL value hsl(315, 70%, 40%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #AD1F8A?+

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