About #CC22BB
#CC22BB is a medium, saturated magenta with a hue angle of 306°. 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
#c2b.
Color conversions
| HEX | #CC22BB |
|---|---|
| Short HEX | #C2B |
| RGB | rgb(204, 34, 187) |
| RGB percent | rgb(80%, 13.3%, 73.3%) |
| HSL | hsl(306, 71%, 47%) |
| HSV / HSB | hsv(306, 83%, 80%) |
| CMYK | cmyk(0%, 83%, 8%, 20%) |
| CIELAB (D65) | lab(49 76.4 -40.8) |
| Decimal | 13378235 |
| Binary | 11001100 00100010 10111011 |
HEX CC 22 BB → 204, 34, 187 (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 #CC22BB
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #CC22BB | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 4.65:1 | Pass | Pass | Fail | Pass |
| Black text | 4.51:1 | Pass | Pass | Fail | Pass |
Relative luminance is 0.1757 (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#1465bf
Deuteranopia#627db7
Tritanopia#d53971
Achromatopsia#747474
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 31.2). 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 | 8 |
| mediumvioletred | #c71585 | 9.7 |
| darkorchid | #9932cc | 10.5 |
| magenta | #ff00ff | 12.2 |
Nearby colors
#dd22bbless red
#bb22bbmore green
#cc33bbless green
#cc11bbmore blue
#cc22ccless blue
#cc22aalighter
#dd33ccdarker
#bb11aa
CSS
.element {
color: #cc22bb;
background-color: rgb(204, 34, 187);
border: 1px solid hsl(306, 71%, 47%);
box-shadow: 0 2px 8px rgb(204 34 187 / 50%);
}
:root { --brand: #cc22bb; }