#D831B1 Color

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

Color preview

#D831B1

Color formats

HEX
#D831B1
RGB
rgb(216, 49, 177)
RGBA
rgba(216, 49, 177, 1)
HSL
hsl(314, 68%, 52%)
HSV
hsv(314, 77%, 85%)
CMYK
cmyk(0%, 77%, 18%, 15%)
CSS variable
--color-primary: #D831B1;
Lowercase HEX
#d831b1

Shades

Tints

Tones

Harmony

CSS snippets for #D831B1

.color-d831b1 {
  color: #D831B1;
  background-color: #D831B1;
}

Frequently asked questions

What color is #D831B1?+

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

What is the closest Tailwind color to #D831B1?+

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