#CC157C Color

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

Color preview

#CC157C

Color formats

HEX
#CC157C
RGB
rgb(204, 21, 124)
RGBA
rgba(204, 21, 124, 1)
HSL
hsl(326, 81%, 44%)
HSV
hsv(326, 90%, 80%)
CMYK
cmyk(0%, 90%, 39%, 20%)
CSS variable
--color-primary: #CC157C;
Lowercase HEX
#cc157c

Shades

Tints

Tones

Harmony

CSS snippets for #CC157C

.color-cc157c {
  color: #CC157C;
  background-color: #CC157C;
}

Frequently asked questions

What color is #CC157C?+

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

What is the closest Tailwind color to #CC157C?+

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