#D42B9E Color

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

Color preview

#D42B9E

Color formats

HEX
#D42B9E
RGB
rgb(212, 43, 158)
RGBA
rgba(212, 43, 158, 1)
HSL
hsl(319, 66%, 50%)
HSV
hsv(319, 80%, 83%)
CMYK
cmyk(0%, 80%, 25%, 17%)
CSS variable
--color-primary: #D42B9E;
Lowercase HEX
#d42b9e

Shades

Tints

Tones

Harmony

CSS snippets for #D42B9E

.color-d42b9e {
  color: #D42B9E;
  background-color: #D42B9E;
}

Frequently asked questions

What color is #D42B9E?+

#D42B9E is a HEX color with RGB value rgb(212, 43, 158) and HSL value hsl(319, 66%, 50%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D42B9E?+

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