#CC11AA color

#CC11AA is rgb(204, 17, 170) in RGB and hsl(311, 85%, 43%) in HSL. The closest CSS named color is mediumvioletred (#c71585, ΔE 6.8). Use white text on it (contrast 4.97:1).

#CC11AApink
HEX#CC11AA
Short HEX#C1A
RGBrgb(204, 17, 170)
RGB percentrgb(80%, 6.7%, 66.7%)
HSLhsl(311, 85%, 43%)
HSV / HSBhsv(311, 92%, 80%)
CMYKcmyk(0%, 92%, 17%, 20%)

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

About #CC11AA

#CC11AA is a medium, vivid pink with a hue angle of 311°. 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 17 (7%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#CC11AA
Short HEX#C1A
RGBrgb(204, 17, 170)
RGB percentrgb(80%, 6.7%, 66.7%)
HSLhsl(311, 85%, 43%)
HSV / HSBhsv(311, 92%, 80%)
CMYKcmyk(0%, 92%, 17%, 20%)
CIELAB (D65)lab(47.2 76.9 -33.7)
Decimal13373866
Binary11001100 00010001 10101010

HEX CC 11 AA → 204, 17, 170 (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 #CC11AA

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC11AARatioAA normalAA largeAAA normalAAA large
White text4.97:1PassPassFailPass
Black text4.23:1FailPassFailFail
White text on #CC11AA
Black text on #CC11AA
#CC11AA text on white
#CC11AA text on black

Relative luminance is 0.1614 (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
#215fad

Deuteranopia
#6779a6

Tritanopia
#d82365

Achromatopsia
#707070

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 30.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
mediumvioletred#c715856.8
mediumorchid#ba55d310.8
darkorchid#9932cc11.8
deeppink#ff149313.5

Nearby colors

CSS

.element {
  color: #cc11aa;
  background-color: rgb(204, 17, 170);
  border: 1px solid hsl(311, 85%, 43%);
  box-shadow: 0 2px 8px rgb(204 17 170 / 50%);
}
:root { --brand: #cc11aa; }

Frequently asked questions

What color is #CC11AA?
A medium vivid pink in the pink & magenta family. Closest CSS name: mediumvioletred.
What is #CC11AA in RGB?
rgb(204, 17, 170): red 204, green 17, blue 170.
What is the complementary color of #CC11AA?
#11CC33, found by rotating the hue 180°.