#D531A6 Color

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

Color preview

#D531A6

Color formats

HEX
#D531A6
RGB
rgb(213, 49, 166)
RGBA
rgba(213, 49, 166, 1)
HSL
hsl(317, 66%, 51%)
HSV
hsv(317, 77%, 84%)
CMYK
cmyk(0%, 77%, 22%, 16%)
CSS variable
--color-primary: #D531A6;
Lowercase HEX
#d531a6

Shades

Tints

Tones

Harmony

CSS snippets for #D531A6

.color-d531a6 {
  color: #D531A6;
  background-color: #D531A6;
}

Frequently asked questions

What color is #D531A6?+

#D531A6 is a HEX color with RGB value rgb(213, 49, 166) and HSL value hsl(317, 66%, 51%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D531A6?+

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