About #CC22DD
#CC22DD is a medium, saturated magenta with a hue angle of 295°. It belongs to the pink & magenta family and reads as a balanced color. In the RGB model blue is the strongest channel at 221 (87%) 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
#c2d.
Color conversions
| HEX | #CC22DD |
|---|---|
| Short HEX | #C2D |
| RGB | rgb(204, 34, 221) |
| RGB percent | rgb(80%, 13.3%, 86.7%) |
| HSL | hsl(295, 73%, 50%) |
| HSV / HSB | hsv(295, 85%, 87%) |
| CMYK | cmyk(8%, 85%, 0%, 13%) |
| CIELAB (D65) | lab(50.9 81.6 -57.3) |
| Decimal | 13378269 |
| Binary | 11001100 00100010 11011101 |
HEX CC 22 DD → 204, 34, 221 (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 #CC22DD
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #CC22DD | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 4.34:1 | Fail | Pass | Fail | Fail |
| Black text | 4.84:1 | Pass | Pass | Fail | Pass |
Relative luminance is 0.1920 (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#006de2
Deuteranopia#4b80d9
Tritanopia#d04d85
Achromatopsia#797979
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 32). 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 | 5.9 |
| darkorchid | #9932cc | 9.2 |
| magenta | #ff00ff | 9.5 |
| blueviolet | #8a2be2 | 12 |
Nearby colors
#dd22ddless red
#bb22ddmore green
#cc33ddless green
#cc11ddmore blue
#cc22eeless blue
#cc22cclighter
#dd33eedarker
#bb11cc
CSS
.element {
color: #cc22dd;
background-color: rgb(204, 34, 221);
border: 1px solid hsl(295, 73%, 50%);
box-shadow: 0 2px 8px rgb(204 34 221 / 50%);
}
:root { --brand: #cc22dd; }