#DC28A6 Color

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

Color preview

#DC28A6

Color formats

HEX
#DC28A6
RGB
rgb(220, 40, 166)
RGBA
rgba(220, 40, 166, 1)
HSL
hsl(318, 72%, 51%)
HSV
hsv(318, 82%, 86%)
CMYK
cmyk(0%, 82%, 25%, 14%)
CSS variable
--color-primary: #DC28A6;
Lowercase HEX
#dc28a6

Shades

Tints

Tones

Harmony

CSS snippets for #DC28A6

.color-dc28a6 {
  color: #DC28A6;
  background-color: #DC28A6;
}

Frequently asked questions

What color is #DC28A6?+

#DC28A6 is a HEX color with RGB value rgb(220, 40, 166) and HSL value hsl(318, 72%, 51%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #DC28A6?+

The closest Tailwind color is pink-500, available as the bg-pink-500 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