#A271A0 Color

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

Color preview

#A271A0

Color formats

HEX
#A271A0
RGB
rgb(162, 113, 160)
RGBA
rgba(162, 113, 160, 1)
HSL
hsl(302, 21%, 54%)
HSV
hsv(302, 30%, 64%)
CMYK
cmyk(0%, 30%, 1%, 36%)
CSS variable
--color-primary: #A271A0;
Lowercase HEX
#a271a0

Shades

Tints

Tones

Harmony

CSS snippets for #A271A0

.color-a271a0 {
  color: #A271A0;
  background-color: #A271A0;
}

Frequently asked questions

What color is #A271A0?+

#A271A0 is a HEX color with RGB value rgb(162, 113, 160) and HSL value hsl(302, 21%, 54%). Its closest CSS named color is RosyBrown.

What is the closest Tailwind color to #A271A0?+

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