#A8158F Color

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

Color preview

#A8158F

Color formats

HEX
#A8158F
RGB
rgb(168, 21, 143)
RGBA
rgba(168, 21, 143, 1)
HSL
hsl(310, 78%, 37%)
HSV
hsv(310, 87%, 66%)
CMYK
cmyk(0%, 87%, 15%, 34%)
CSS variable
--color-primary: #A8158F;
Lowercase HEX
#a8158f

Shades

Tints

Tones

Harmony

CSS snippets for #A8158F

.color-a8158f {
  color: #A8158F;
  background-color: #A8158F;
}

Frequently asked questions

What color is #A8158F?+

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

What is the closest Tailwind color to #A8158F?+

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