#CC158C

Color Details

HEX
#CC158C
RGB
rgb(204, 21, 140)
HSL
hsl(321, 81%, 44%)
CMYK
cmyk(0%, 90%, 31%, 20%)
Best text on this color #FFFFFF (CR 5.18:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #CC158C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #CC158C

#CC158C converts to RGB(204, 21, 140) and HSL(321, 81%, 44%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#CC158C FAQs

What is the RGB value of #CC158C?
RGB: 204, 21, 140. Copy as CSS: rgb(204, 21, 140)
Is #CC158C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #CC158C?
Complement: #15cb55.
Does #CC158C have good contrast on white or black?
On white: 5.18:1 (AA (normal text)). On black: 4.05:1 (AA (large text)).