About #CC0022
#CC0022 is a medium-dark, vivid crimson with a hue angle of 350°. It belongs to the red family and reads as a warm color. In the RGB model red is the strongest channel at 204 (80%) and green the weakest at 0 (0%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.
- It can be written in 3-digit shorthand as
#c02.
Color conversions
| HEX | #CC0022 |
|---|---|
| Short HEX | #C02 |
| RGB | rgb(204, 0, 34) |
| RGB percent | rgb(80%, 0%, 13.3%) |
| HSL | hsl(350, 100%, 40%) |
| HSV / HSB | hsv(350, 100%, 80%) |
| CMYK | cmyk(0%, 100%, 83%, 20%) |
| CIELAB (D65) | lab(42.7 68.2 43) |
| Decimal | 13369378 |
| Binary | 11001100 00000000 00100010 |
HEX CC 00 22 → 204, 0, 34 (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 #CC0022
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #CC0022 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 5.85:1 | Pass | Pass | Fail | Pass |
| Black text | 3.59:1 | Fail | Pass | Fail | Fail |
Relative luminance is 0.1295 (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#544b20
Deuteranopia#817317
Tritanopia#e10015
Achromatopsia#656565
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 42.7). 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
Nearby colors
CSS
.element {
color: #cc0022;
background-color: rgb(204, 0, 34);
border: 1px solid hsl(350, 100%, 40%);
box-shadow: 0 2px 8px rgb(204 0 34 / 50%);
}
:root { --brand: #cc0022; }