#D042E6 Color

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

Color preview

#D042E6

Color formats

HEX
#D042E6
RGB
rgb(208, 66, 230)
RGBA
rgba(208, 66, 230, 1)
HSL
hsl(292, 77%, 58%)
HSV
hsv(292, 71%, 90%)
CMYK
cmyk(10%, 71%, 0%, 10%)
CSS variable
--color-primary: #D042E6;
Lowercase HEX
#d042e6

Shades

Tints

Tones

Harmony

CSS snippets for #D042E6

.color-d042e6 {
  color: #D042E6;
  background-color: #D042E6;
}

Frequently asked questions

What color is #D042E6?+

#D042E6 is a HEX color with RGB value rgb(208, 66, 230) and HSL value hsl(292, 77%, 58%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D042E6?+

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