About #CC22AA
#CC22AA is a medium, saturated pink with a hue angle of 312°. 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
#c2a.
Color conversions
| HEX | #CC22AA |
|---|---|
| Short HEX | #C2A |
| RGB | rgb(204, 34, 170) |
| RGB percent | rgb(80%, 13.3%, 66.7%) |
| HSL | hsl(312, 71%, 47%) |
| HSV / HSB | hsv(312, 83%, 80%) |
| CMYK | cmyk(0%, 83%, 17%, 20%) |
| CIELAB (D65) | lab(48.1 74.1 -32.2) |
| Decimal | 13378218 |
| Binary | 11001100 00100010 10101010 |
HEX CC 22 AA → 204, 34, 170 (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 #CC22AA
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #CC22AA | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 4.80:1 | Pass | Pass | Fail | Pass |
| Black text | 4.38:1 | Fail | Pass | Fail | Fail |
Relative luminance is 0.1688 (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#2d62ad
Deuteranopia#6a7ba6
Tritanopia#d82e67
Achromatopsia#727272
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 30.1). 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 |
|---|---|---|
| mediumvioletred | #c71585 | 6.8 |
| mediumorchid | #ba55d3 | 10.1 |
| darkorchid | #9932cc | 12.2 |
| deeppink | #ff1493 | 12.7 |
Nearby colors
#dd22aaless red
#bb22aamore green
#cc33aaless green
#cc11aamore blue
#cc22bbless blue
#cc2299lighter
#dd33bbdarker
#bb1199
CSS
.element {
color: #cc22aa;
background-color: rgb(204, 34, 170);
border: 1px solid hsl(312, 71%, 47%);
box-shadow: 0 2px 8px rgb(204 34 170 / 50%);
}
:root { --brand: #cc22aa; }