#D312A0 Color

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

Color preview

#D312A0

Color formats

HEX
#D312A0
RGB
rgb(211, 18, 160)
RGBA
rgba(211, 18, 160, 1)
HSL
hsl(316, 84%, 45%)
HSV
hsv(316, 91%, 83%)
CMYK
cmyk(0%, 91%, 24%, 17%)
CSS variable
--color-primary: #D312A0;
Lowercase HEX
#d312a0

Shades

Tints

Tones

Harmony

CSS snippets for #D312A0

.color-d312a0 {
  color: #D312A0;
  background-color: #D312A0;
}

Frequently asked questions

What color is #D312A0?+

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

What is the closest Tailwind color to #D312A0?+

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