#D5317D Color

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

Color preview

#D5317D

Color formats

HEX
#D5317D
RGB
rgb(213, 49, 125)
RGBA
rgba(213, 49, 125, 1)
HSL
hsl(332, 66%, 51%)
HSV
hsv(332, 77%, 84%)
CMYK
cmyk(0%, 77%, 41%, 16%)
CSS variable
--color-primary: #D5317D;
Lowercase HEX
#d5317d

Shades

Tints

Tones

Harmony

CSS snippets for #D5317D

.color-d5317d {
  color: #D5317D;
  background-color: #D5317D;
}

Frequently asked questions

What color is #D5317D?+

#D5317D is a HEX color with RGB value rgb(213, 49, 125) and HSL value hsl(332, 66%, 51%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D5317D?+

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