#D31DAF Color

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

Color preview

#D31DAF

Color formats

HEX
#D31DAF
RGB
rgb(211, 29, 175)
RGBA
rgba(211, 29, 175, 1)
HSL
hsl(312, 76%, 47%)
HSV
hsv(312, 86%, 83%)
CMYK
cmyk(0%, 86%, 17%, 17%)
CSS variable
--color-primary: #D31DAF;
Lowercase HEX
#d31daf

Shades

Tints

Tones

Harmony

CSS snippets for #D31DAF

.color-d31daf {
  color: #D31DAF;
  background-color: #D31DAF;
}

Frequently asked questions

What color is #D31DAF?+

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

What is the closest Tailwind color to #D31DAF?+

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