#CC159C
Color Details
HEX
#CC159C
RGB
rgb(204, 21, 156)
HSL
hsl(316, 81%, 44%)
CMYK
cmyk(0%, 90%, 24%, 20%)
Best text on this color
#FFFFFF (CR 5.05:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #CC159C
#CC159C converts to RGB(204, 21, 156) and HSL(316, 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).
#CC159C FAQs
What is the RGB value of #CC159C?
RGB: 204, 21, 156. Copy as CSS:
rgb(204, 21, 156)
Is #CC159C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #CC159C?
Complement: #15cb46.
Does #CC159C have good contrast on white or black?
On white: 5.05:1 (AA (normal text)).
On black: 4.15:1 (AA (large text)).