#C040D4 Color

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

Color preview

#C040D4

Color formats

HEX
#C040D4
RGB
rgb(192, 64, 212)
RGBA
rgba(192, 64, 212, 1)
HSL
hsl(292, 63%, 54%)
HSV
hsv(292, 70%, 83%)
CMYK
cmyk(9%, 70%, 0%, 17%)
CSS variable
--color-primary: #C040D4;
Lowercase HEX
#c040d4

Shades

Tints

Tones

Harmony

CSS snippets for #C040D4

.color-c040d4 {
  color: #C040D4;
  background-color: #C040D4;
}

Frequently asked questions

What color is #C040D4?+

#C040D4 is a HEX color with RGB value rgb(192, 64, 212) and HSL value hsl(292, 63%, 54%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #C040D4?+

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