#CC0022 color

#CC0022 is rgb(204, 0, 34) in RGB and hsl(350, 100%, 40%) in HSL. The closest CSS named color is firebrick (#b22222, ΔE 4.6). Use white text on it (contrast 5.85:1).

#CC0022crimson
HEX#CC0022
Short HEX#C02
RGBrgb(204, 0, 34)
RGB percentrgb(80%, 0%, 13.3%)
HSLhsl(350, 100%, 40%)
HSV / HSBhsv(350, 100%, 80%)
CMYKcmyk(0%, 100%, 83%, 20%)

Edit in the color converter → · Check contrast → · Shades →

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.

Color conversions

HEX#CC0022
Short HEX#C02
RGBrgb(204, 0, 34)
RGB percentrgb(80%, 0%, 13.3%)
HSLhsl(350, 100%, 40%)
HSV / HSBhsv(350, 100%, 80%)
CMYKcmyk(0%, 100%, 83%, 20%)
CIELAB (D65)lab(42.7 68.2 43)
Decimal13369378
Binary11001100 00000000 00100010

HEX CC 00 22 → 204, 0, 34 (each pair is a base-16 number: C×16 + C = 204)

Color harmonies

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 #CC0022RatioAA normalAA largeAAA normalAAA large
White text5.85:1PassPassFailPass
Black text3.59:1FailPassFailFail
White text on #CC0022
Black text on #CC0022
#CC0022 text on white
#CC0022 text on black

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

NameHEXΔE 2000
firebrick#b222224.6
crimson#dc143c6.3
brown#a52a2a7.1
red#ff000012.9

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; }

Frequently asked questions

What color is #CC0022?
A medium-dark vivid crimson in the red family. Closest CSS name: firebrick.
What is #CC0022 in RGB?
rgb(204, 0, 34): red 204, green 0, blue 34.
What is the complementary color of #CC0022?
#00CCAA, found by rotating the hue 180°.