#D831AB Color

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

Color preview

#D831AB

Color formats

HEX
#D831AB
RGB
rgb(216, 49, 171)
RGBA
rgba(216, 49, 171, 1)
HSL
hsl(316, 68%, 52%)
HSV
hsv(316, 77%, 85%)
CMYK
cmyk(0%, 77%, 21%, 15%)
CSS variable
--color-primary: #D831AB;
Lowercase HEX
#d831ab

Shades

Tints

Tones

Harmony

CSS snippets for #D831AB

.color-d831ab {
  color: #D831AB;
  background-color: #D831AB;
}

Frequently asked questions

What color is #D831AB?+

#D831AB is a HEX color with RGB value rgb(216, 49, 171) and HSL value hsl(316, 68%, 52%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D831AB?+

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