#D42797 Color

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

Color preview

#D42797

Color formats

HEX
#D42797
RGB
rgb(212, 39, 151)
RGBA
rgba(212, 39, 151, 1)
HSL
hsl(321, 69%, 49%)
HSV
hsv(321, 82%, 83%)
CMYK
cmyk(0%, 82%, 29%, 17%)
CSS variable
--color-primary: #D42797;
Lowercase HEX
#d42797

Shades

Tints

Tones

Harmony

CSS snippets for #D42797

.color-d42797 {
  color: #D42797;
  background-color: #D42797;
}

Frequently asked questions

What color is #D42797?+

#D42797 is a HEX color with RGB value rgb(212, 39, 151) and HSL value hsl(321, 69%, 49%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D42797?+

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