#C040C9 Color

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

Color preview

#C040C9

Color formats

HEX
#C040C9
RGB
rgb(192, 64, 201)
RGBA
rgba(192, 64, 201, 1)
HSL
hsl(296, 56%, 52%)
HSV
hsv(296, 68%, 79%)
CMYK
cmyk(4%, 68%, 0%, 21%)
CSS variable
--color-primary: #C040C9;
Lowercase HEX
#c040c9

Shades

Tints

Tones

Harmony

CSS snippets for #C040C9

.color-c040c9 {
  color: #C040C9;
  background-color: #C040C9;
}

Frequently asked questions

What color is #C040C9?+

#C040C9 is a HEX color with RGB value rgb(192, 64, 201) and HSL value hsl(296, 56%, 52%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #C040C9?+

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