#A8158B Color

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

Color preview

#A8158B

Color formats

HEX
#A8158B
RGB
rgb(168, 21, 139)
RGBA
rgba(168, 21, 139, 1)
HSL
hsl(312, 78%, 37%)
HSV
hsv(312, 87%, 66%)
CMYK
cmyk(0%, 87%, 17%, 34%)
CSS variable
--color-primary: #A8158B;
Lowercase HEX
#a8158b

Shades

Tints

Tones

Harmony

CSS snippets for #A8158B

.color-a8158b {
  color: #A8158B;
  background-color: #A8158B;
}

Frequently asked questions

What color is #A8158B?+

#A8158B is a HEX color with RGB value rgb(168, 21, 139) and HSL value hsl(312, 78%, 37%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #A8158B?+

The closest Tailwind color is fuchsia-800, available as the bg-fuchsia-800 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