#C940A7 Color

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

Color preview

#C940A7

Color formats

HEX
#C940A7
RGB
rgb(201, 64, 167)
RGBA
rgba(201, 64, 167, 1)
HSL
hsl(315, 56%, 52%)
HSV
hsv(315, 68%, 79%)
CMYK
cmyk(0%, 68%, 17%, 21%)
CSS variable
--color-primary: #C940A7;
Lowercase HEX
#c940a7

Shades

Tints

Tones

Harmony

CSS snippets for #C940A7

.color-c940a7 {
  color: #C940A7;
  background-color: #C940A7;
}

Frequently asked questions

What color is #C940A7?+

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

What is the closest Tailwind color to #C940A7?+

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