#CC2277 color

#CC2277 is rgb(204, 34, 119) in RGB and hsl(330, 71%, 47%) in HSL. The closest CSS named color is mediumvioletred (#c71585, ΔE 4.4). Use white text on it (contrast 5.17:1).

#CC2277rose
HEX#CC2277
Short HEX#C27
RGBrgb(204, 34, 119)
RGB percentrgb(80%, 13.3%, 46.7%)
HSLhsl(330, 71%, 47%)
HSV / HSBhsv(330, 83%, 80%)
CMYKcmyk(0%, 83%, 42%, 20%)

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

About #CC2277

#CC2277 is a medium, saturated rose with a hue angle of 330°. 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#CC2277
Short HEX#C27
RGBrgb(204, 34, 119)
RGB percentrgb(80%, 13.3%, 46.7%)
HSLhsl(330, 71%, 47%)
HSV / HSBhsv(330, 83%, 80%)
CMYKcmyk(0%, 83%, 42%, 20%)
CIELAB (D65)lab(46.1 68.3 -4.5)
Decimal13378167
Binary11001100 00100010 01110111

HEX CC 22 77 → 204, 34, 119 (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 #CC2277

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC2277RatioAA normalAA largeAAA normalAAA large
White text5.17:1PassPassFailPass
Black text4.06:1FailPassFailFail
White text on #CC2277
Black text on #CC2277
#CC2277 text on white
#CC2277 text on black

Relative luminance is 0.1531 (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
#4b5979

Deuteranopia
#7a7873

Tritanopia
#dd004b

Achromatopsia
#6d6d6d

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 30.3). 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#c715854.4
deeppink#ff149310.5
palevioletred#db709315.6
crimson#dc143c16.7

Nearby colors

CSS

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

Frequently asked questions

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