About #CC22CC
#CC22CC is a medium, saturated magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 204 (80%) and green the weakest at 34 (13%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.
- It can be written in 3-digit shorthand as
#c2c.
Color conversions
| HEX | #CC22CC |
|---|---|
| Short HEX | #C2C |
| RGB | rgb(204, 34, 204) |
| RGB percent | rgb(80%, 13.3%, 80%) |
| HSL | hsl(300, 71%, 47%) |
| HSV / HSB | hsv(300, 83%, 80%) |
| CMYK | cmyk(0%, 83%, 0%, 20%) |
| CIELAB (D65) | lab(49.9 78.9 -49.2) |
| Decimal | 13378252 |
| Binary | 11001100 00100010 11001100 |
HEX CC 22 CC → 204, 34, 204 (each pair is a base-16 number: C×16 + C = 204)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #CC22CC
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #CC22CC | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 4.50:1 | Fail | Pass | Fail | Fail |
| Black text | 4.67:1 | Pass | Pass | Fail | Pass |
Relative luminance is 0.1834 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#0069d0
Deuteranopia#587ec8
Tritanopia#d3437b
Achromatopsia#777777
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 31.5). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| mediumorchid | #ba55d3 | 6.5 |
| darkorchid | #9932cc | 9.4 |
| magenta | #ff00ff | 10.6 |
| darkviolet | #9400d3 | 12.3 |
Nearby colors
#dd22ccless red
#bb22ccmore green
#cc33ccless green
#cc11ccmore blue
#cc22ddless blue
#cc22bblighter
#dd33dddarker
#bb11bb
CSS
.element {
color: #cc22cc;
background-color: rgb(204, 34, 204);
border: 1px solid hsl(300, 71%, 47%);
box-shadow: 0 2px 8px rgb(204 34 204 / 50%);
}
:root { --brand: #cc22cc; }