#BA40A2 Color

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

Color preview

#BA40A2

Color formats

HEX
#BA40A2
RGB
rgb(186, 64, 162)
RGBA
rgba(186, 64, 162, 1)
HSL
hsl(312, 49%, 49%)
HSV
hsv(312, 66%, 73%)
CMYK
cmyk(0%, 66%, 13%, 27%)
CSS variable
--color-primary: #BA40A2;
Lowercase HEX
#ba40a2

Shades

Tints

Tones

Harmony

CSS snippets for #BA40A2

.color-ba40a2 {
  color: #BA40A2;
  background-color: #BA40A2;
}

Frequently asked questions

What color is #BA40A2?+

#BA40A2 is a HEX color with RGB value rgb(186, 64, 162) and HSL value hsl(312, 49%, 49%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #BA40A2?+

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