#A8157E Color

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

Color preview

#A8157E

Color formats

HEX
#A8157E
RGB
rgb(168, 21, 126)
RGBA
rgba(168, 21, 126, 1)
HSL
hsl(317, 78%, 37%)
HSV
hsv(317, 87%, 66%)
CMYK
cmyk(0%, 87%, 25%, 34%)
CSS variable
--color-primary: #A8157E;
Lowercase HEX
#a8157e

Shades

Tints

Tones

Harmony

CSS snippets for #A8157E

.color-a8157e {
  color: #A8157E;
  background-color: #A8157E;
}

Frequently asked questions

What color is #A8157E?+

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

What is the closest Tailwind color to #A8157E?+

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