#D040E2 Color

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

Color preview

#D040E2

Color formats

HEX
#D040E2
RGB
rgb(208, 64, 226)
RGBA
rgba(208, 64, 226, 1)
HSL
hsl(293, 74%, 57%)
HSV
hsv(293, 72%, 89%)
CMYK
cmyk(8%, 72%, 0%, 11%)
CSS variable
--color-primary: #D040E2;
Lowercase HEX
#d040e2

Shades

Tints

Tones

Harmony

CSS snippets for #D040E2

.color-d040e2 {
  color: #D040E2;
  background-color: #D040E2;
}

Frequently asked questions

What color is #D040E2?+

#D040E2 is a HEX color with RGB value rgb(208, 64, 226) and HSL value hsl(293, 74%, 57%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D040E2?+

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