#D02FA2 Color

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

Color preview

#D02FA2

Color formats

HEX
#D02FA2
RGB
rgb(208, 47, 162)
RGBA
rgba(208, 47, 162, 1)
HSL
hsl(317, 63%, 50%)
HSV
hsv(317, 77%, 82%)
CMYK
cmyk(0%, 77%, 22%, 18%)
CSS variable
--color-primary: #D02FA2;
Lowercase HEX
#d02fa2

Shades

Tints

Tones

Harmony

CSS snippets for #D02FA2

.color-d02fa2 {
  color: #D02FA2;
  background-color: #D02FA2;
}

Frequently asked questions

What color is #D02FA2?+

#D02FA2 is a HEX color with RGB value rgb(208, 47, 162) and HSL value hsl(317, 63%, 50%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D02FA2?+

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