#A5228B Color

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

Color preview

#A5228B

Color formats

HEX
#A5228B
RGB
rgb(165, 34, 139)
RGBA
rgba(165, 34, 139, 1)
HSL
hsl(312, 66%, 39%)
HSV
hsv(312, 79%, 65%)
CMYK
cmyk(0%, 79%, 16%, 35%)
CSS variable
--color-primary: #A5228B;
Lowercase HEX
#a5228b

Shades

Tints

Tones

Harmony

CSS snippets for #A5228B

.color-a5228b {
  color: #A5228B;
  background-color: #A5228B;
}

Frequently asked questions

What color is #A5228B?+

#A5228B is a HEX color with RGB value rgb(165, 34, 139) and HSL value hsl(312, 66%, 39%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #A5228B?+

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