#CC158C Color

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

Color preview

#CC158C

Color formats

HEX
#CC158C
RGB
rgb(204, 21, 140)
RGBA
rgba(204, 21, 140, 1)
HSL
hsl(321, 81%, 44%)
HSV
hsv(321, 90%, 80%)
CMYK
cmyk(0%, 90%, 31%, 20%)
CSS variable
--color-primary: #CC158C;
Lowercase HEX
#cc158c

Shades

Tints

Tones

Harmony

CSS snippets for #CC158C

.color-cc158c {
  color: #CC158C;
  background-color: #CC158C;
}

Frequently asked questions

What color is #CC158C?+

#CC158C is a HEX color with RGB value rgb(204, 21, 140) and HSL value hsl(321, 81%, 44%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #CC158C?+

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