#A271A2 Color

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

Color preview

#A271A2

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #A271A2

.color-a271a2 {
  color: #A271A2;
  background-color: #A271A2;
}

Frequently asked questions

What color is #A271A2?+

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

What is the closest Tailwind color to #A271A2?+

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