#DC2A8F Color

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

Color preview

#DC2A8F

Color formats

HEX
#DC2A8F
RGB
rgb(220, 42, 143)
RGBA
rgba(220, 42, 143, 1)
HSL
hsl(326, 72%, 51%)
HSV
hsv(326, 81%, 86%)
CMYK
cmyk(0%, 81%, 35%, 14%)
CSS variable
--color-primary: #DC2A8F;
Lowercase HEX
#dc2a8f

Shades

Tints

Tones

Harmony

CSS snippets for #DC2A8F

.color-dc2a8f {
  color: #DC2A8F;
  background-color: #DC2A8F;
}

Frequently asked questions

What color is #DC2A8F?+

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

What is the closest Tailwind color to #DC2A8F?+

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