#DC2A7D Color

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

Color preview

#DC2A7D

Color formats

HEX
#DC2A7D
RGB
rgb(220, 42, 125)
RGBA
rgba(220, 42, 125, 1)
HSL
hsl(332, 72%, 51%)
HSV
hsv(332, 81%, 86%)
CMYK
cmyk(0%, 81%, 43%, 14%)
CSS variable
--color-primary: #DC2A7D;
Lowercase HEX
#dc2a7d

Shades

Tints

Tones

Harmony

CSS snippets for #DC2A7D

.color-dc2a7d {
  color: #DC2A7D;
  background-color: #DC2A7D;
}

Frequently asked questions

What color is #DC2A7D?+

#DC2A7D is a HEX color with RGB value rgb(220, 42, 125) and HSL value hsl(332, 72%, 51%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #DC2A7D?+

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