#D31D9C Color

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

Color preview

#D31D9C

Color formats

HEX
#D31D9C
RGB
rgb(211, 29, 156)
RGBA
rgba(211, 29, 156, 1)
HSL
hsl(318, 76%, 47%)
HSV
hsv(318, 86%, 83%)
CMYK
cmyk(0%, 86%, 26%, 17%)
CSS variable
--color-primary: #D31D9C;
Lowercase HEX
#d31d9c

Shades

Tints

Tones

Harmony

CSS snippets for #D31D9C

.color-d31d9c {
  color: #D31D9C;
  background-color: #D31D9C;
}

Frequently asked questions

What color is #D31D9C?+

#D31D9C is a HEX color with RGB value rgb(211, 29, 156) and HSL value hsl(318, 76%, 47%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D31D9C?+

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