#D312B3 Color

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

Color preview

#D312B3

Color formats

HEX
#D312B3
RGB
rgb(211, 18, 179)
RGBA
rgba(211, 18, 179, 1)
HSL
hsl(310, 84%, 45%)
HSV
hsv(310, 91%, 83%)
CMYK
cmyk(0%, 91%, 15%, 17%)
CSS variable
--color-primary: #D312B3;
Lowercase HEX
#d312b3

Shades

Tints

Tones

Harmony

CSS snippets for #D312B3

.color-d312b3 {
  color: #D312B3;
  background-color: #D312B3;
}

Frequently asked questions

What color is #D312B3?+

#D312B3 is a HEX color with RGB value rgb(211, 18, 179) and HSL value hsl(310, 84%, 45%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D312B3?+

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