#C042C7 Color

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

Color preview

#C042C7

Color formats

HEX
#C042C7
RGB
rgb(192, 66, 199)
RGBA
rgba(192, 66, 199, 1)
HSL
hsl(297, 54%, 52%)
HSV
hsv(297, 67%, 78%)
CMYK
cmyk(4%, 67%, 0%, 22%)
CSS variable
--color-primary: #C042C7;
Lowercase HEX
#c042c7

Shades

Tints

Tones

Harmony

CSS snippets for #C042C7

.color-c042c7 {
  color: #C042C7;
  background-color: #C042C7;
}

Frequently asked questions

What color is #C042C7?+

#C042C7 is a HEX color with RGB value rgb(192, 66, 199) and HSL value hsl(297, 54%, 52%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #C042C7?+

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