#DC2A8C Color

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

Color preview

#DC2A8C

Color formats

HEX
#DC2A8C
RGB
rgb(220, 42, 140)
RGBA
rgba(220, 42, 140, 1)
HSL
hsl(327, 72%, 51%)
HSV
hsv(327, 81%, 86%)
CMYK
cmyk(0%, 81%, 36%, 14%)
CSS variable
--color-primary: #DC2A8C;
Lowercase HEX
#dc2a8c

Shades

Tints

Tones

Harmony

CSS snippets for #DC2A8C

.color-dc2a8c {
  color: #DC2A8C;
  background-color: #DC2A8C;
}

Frequently asked questions

What color is #DC2A8C?+

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

What is the closest Tailwind color to #DC2A8C?+

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