#CC2299 color

#CC2299 is rgb(204, 34, 153) in RGB and hsl(318, 71%, 47%) in HSL. The closest CSS named color is mediumvioletred (#c71585, ΔE 3.9). Use white text on it (contrast 4.93:1).

#CC2299pink
HEX#CC2299
Short HEX#C29
RGBrgb(204, 34, 153)
RGB percentrgb(80%, 13.3%, 60%)
HSLhsl(318, 71%, 47%)
HSV / HSBhsv(318, 83%, 80%)
CMYKcmyk(0%, 83%, 25%, 20%)

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

About #CC2299

#CC2299 is a medium, saturated pink with a hue angle of 318°. 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#CC2299
Short HEX#C29
RGBrgb(204, 34, 153)
RGB percentrgb(80%, 13.3%, 60%)
HSLhsl(318, 71%, 47%)
HSV / HSBhsv(318, 83%, 80%)
CMYKcmyk(0%, 83%, 25%, 20%)
CIELAB (D65)lab(47.3 72 -23.2)
Decimal13378201
Binary11001100 00100010 10011001

HEX CC 22 99 → 204, 34, 153 (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 #CC2299

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC2299RatioAA normalAA largeAAA normalAAA large
White text4.93:1PassPassFailPass
Black text4.26:1FailPassFailFail
White text on #CC2299
Black text on #CC2299
#CC2299 text on white
#CC2299 text on black

Relative luminance is 0.1628 (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
#3b5f9c

Deuteranopia
#707a95

Tritanopia
#da205e

Achromatopsia
#707070

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 29.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#c715853.9
deeppink#ff149311.3
mediumorchid#ba55d312.7
darkorchid#9932cc14.6

Nearby colors

CSS

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

Frequently asked questions

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