#D22872 Color

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

Color preview

#D22872

Color formats

HEX
#D22872
RGB
rgb(210, 40, 114)
RGBA
rgba(210, 40, 114, 1)
HSL
hsl(334, 68%, 49%)
HSV
hsv(334, 81%, 82%)
CMYK
cmyk(0%, 81%, 46%, 18%)
CSS variable
--color-primary: #D22872;
Lowercase HEX
#d22872

Shades

Tints

Tones

Harmony

CSS snippets for #D22872

.color-d22872 {
  color: #D22872;
  background-color: #D22872;
}

Frequently asked questions

What color is #D22872?+

#D22872 is a HEX color with RGB value rgb(210, 40, 114) and HSL value hsl(334, 68%, 49%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D22872?+

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