#CC02A6 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #cc02a6 graphic
#cc02a6 is a highly saturated magenta with a slight purple undertone and medium lightness. Its loud, energetic character suits calls to action, cosmetics, nightlife branding, and playful accents. Use it as a small accent against charcoal or deep navy rather than a full-page background. White text reaches about 5.1:1 contrast. The hex code for this color is #cc02a6.

Questions about #cc02a6

What is #cc02a6 in RGB, HSL and CMYK?
In RGB, #cc02a6 is rgb(204, 2, 166), in HSL hsl(311, 98%, 40%) and in CMYK 0%, 99%, 19%, 20%.
What colors pair well with #cc02a6?
#cc02a6 works best as a small accent beside charcoal or navy, which temper its saturated magenta energy; soft pink and lavender create brighter, playful palettes for cosmetics or nightlife-inspired graphics.
Is #cc02a6 readable on white or black?
#cc02a6 has a 5.08:1 contrast ratio on white and 4.12:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.