#CC2288 color

#CC2288 is rgb(204, 34, 136) in RGB and hsl(324, 71%, 47%) in HSL. The closest CSS named color is mediumvioletred (#c71585, ΔE 1.9). Use white text on it (contrast 5.06:1).

#CC2288rose
HEX#CC2288
Short HEX#C28
RGBrgb(204, 34, 136)
RGB percentrgb(80%, 13.3%, 53.3%)
HSLhsl(324, 71%, 47%)
HSV / HSBhsv(324, 83%, 80%)
CMYKcmyk(0%, 83%, 33%, 20%)

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

About #CC2288

#CC2288 is a medium, saturated rose with a hue angle of 324°. 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#CC2288
Short HEX#C28
RGBrgb(204, 34, 136)
RGB percentrgb(80%, 13.3%, 53.3%)
HSLhsl(324, 71%, 47%)
HSV / HSBhsv(324, 83%, 80%)
CMYKcmyk(0%, 83%, 33%, 20%)
CIELAB (D65)lab(46.7 70 -14)
Decimal13378184
Binary11001100 00100010 10001000

HEX CC 22 88 → 204, 34, 136 (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 #CC2288

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC2288RatioAA normalAA largeAAA normalAAA large
White text5.06:1PassPassFailPass
Black text4.15:1FailPassFailFail
White text on #CC2288
Black text on #CC2288
#CC2288 text on white
#CC2288 text on black

Relative luminance is 0.1576 (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
#445c8a

Deuteranopia
#757984

Tritanopia
#dc0d54

Achromatopsia
#6f6f6f

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 28.2). 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#c715851.9
deeppink#ff149310.4
mediumorchid#ba55d315.6
darkmagenta#8b008b16

Nearby colors

CSS

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

Frequently asked questions

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