#D52F9B Color

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

Color preview

#D52F9B

Color formats

HEX
#D52F9B
RGB
rgb(213, 47, 155)
RGBA
rgba(213, 47, 155, 1)
HSL
hsl(321, 66%, 51%)
HSV
hsv(321, 78%, 84%)
CMYK
cmyk(0%, 78%, 27%, 16%)
CSS variable
--color-primary: #D52F9B;
Lowercase HEX
#d52f9b

Shades

Tints

Tones

Harmony

CSS snippets for #D52F9B

.color-d52f9b {
  color: #D52F9B;
  background-color: #D52F9B;
}

Frequently asked questions

What color is #D52F9B?+

#D52F9B is a HEX color with RGB value rgb(213, 47, 155) and HSL value hsl(321, 66%, 51%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D52F9B?+

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