#D42BAD Color

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

Color preview

#D42BAD

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D42BAD

.color-d42bad {
  color: #D42BAD;
  background-color: #D42BAD;
}

Frequently asked questions

What color is #D42BAD?+

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

What is the closest Tailwind color to #D42BAD?+

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