#D42BAC Color

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

Color preview

#D42BAC

Color formats

HEX
#D42BAC
RGB
rgb(212, 43, 172)
RGBA
rgba(212, 43, 172, 1)
HSL
hsl(314, 66%, 50%)
HSV
hsv(314, 80%, 83%)
CMYK
cmyk(0%, 80%, 19%, 17%)
CSS variable
--color-primary: #D42BAC;
Lowercase HEX
#d42bac

Shades

Tints

Tones

Harmony

CSS snippets for #D42BAC

.color-d42bac {
  color: #D42BAC;
  background-color: #D42BAC;
}

Frequently asked questions

What color is #D42BAC?+

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

What is the closest Tailwind color to #D42BAC?+

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