#CC2266 color

#CC2266 is rgb(204, 34, 102) in RGB and hsl(336, 71%, 47%) in HSL. The closest CSS named color is mediumvioletred (#c71585, ΔE 8.4). Use white text on it (contrast 5.27:1).

#CC2266rose
HEX#CC2266
Short HEX#C26
RGBrgb(204, 34, 102)
RGB percentrgb(80%, 13.3%, 40%)
HSLhsl(336, 71%, 47%)
HSV / HSBhsv(336, 83%, 80%)
CMYKcmyk(0%, 83%, 50%, 20%)

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

About #CC2266

#CC2266 is a medium, saturated rose with a hue angle of 336°. 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.

Color conversions

HEX#CC2266
Short HEX#C26
RGBrgb(204, 34, 102)
RGB percentrgb(80%, 13.3%, 40%)
HSLhsl(336, 71%, 47%)
HSV / HSBhsv(336, 83%, 80%)
CMYKcmyk(0%, 83%, 50%, 20%)
CIELAB (D65)lab(45.6 66.9 5.2)
Decimal13378150
Binary11001100 00100010 01100110

HEX CC 22 66 → 204, 34, 102 (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 #CC2266

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC2266RatioAA normalAA largeAAA normalAAA large
White text5.27:1PassPassFailPass
Black text3.99:1FailPassFailFail
White text on #CC2266
Black text on #CC2266
#CC2266 text on white
#CC2266 text on black

Relative luminance is 0.1494 (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
#515767

Deuteranopia
#7d7862

Tritanopia
#de0042

Achromatopsia
#6c6c6c

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 37.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

NameHEXΔE 2000
mediumvioletred#c715858.4
deeppink#ff149312
crimson#dc143c12.6
indianred#cd5c5c14.6

Nearby colors

CSS

.element {
  color: #cc2266;
  background-color: rgb(204, 34, 102);
  border: 1px solid hsl(336, 71%, 47%);
  box-shadow: 0 2px 8px rgb(204 34 102 / 50%);
}
:root { --brand: #cc2266; }

Frequently asked questions

What color is #CC2266?
A medium saturated rose in the pink & magenta family. Closest CSS name: mediumvioletred.
What is #CC2266 in RGB?
rgb(204, 34, 102): red 204, green 34, blue 102.
What is the complementary color of #CC2266?
#22CC88, found by rotating the hue 180°.