#CC00AA color

#CC00AA is rgb(204, 0, 170) in RGB and hsl(310, 100%, 40%) in HSL. The closest CSS named color is mediumvioletred (#c71585, ΔE 6.8). Use white text on it (contrast 5.06:1).

#CC00AApink
HEX#CC00AA
Short HEX#C0A
RGBrgb(204, 0, 170)
RGB percentrgb(80%, 0%, 66.7%)
HSLhsl(310, 100%, 40%)
HSV / HSBhsv(310, 100%, 80%)
CMYKcmyk(0%, 100%, 17%, 20%)

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

About #CC00AA

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

Color conversions

HEX#CC00AA
Short HEX#C0A
RGBrgb(204, 0, 170)
RGB percentrgb(80%, 0%, 66.7%)
HSLhsl(310, 100%, 40%)
HSV / HSBhsv(310, 100%, 80%)
CMYKcmyk(0%, 100%, 17%, 20%)
CIELAB (D65)lab(46.6 78.4 -34.5)
Decimal13369514
Binary11001100 00000000 10101010

HEX CC 00 AA → 204, 0, 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 #CC00AA

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

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

Relative luminance is 0.1574 (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
#195dad

Deuteranopia
#6578a6

Tritanopia
#d81d63

Achromatopsia
#6e6e6e

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 31.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#c715856.8
mediumorchid#ba55d311.1
darkorchid#9932cc11.7
darkmagenta#8b008b13.3

Nearby colors

CSS

.element {
  color: #cc00aa;
  background-color: rgb(204, 0, 170);
  border: 1px solid hsl(310, 100%, 40%);
  box-shadow: 0 2px 8px rgb(204 0 170 / 50%);
}
:root { --brand: #cc00aa; }

Frequently asked questions

What color is #CC00AA?
A medium-dark vivid pink in the pink & magenta family. Closest CSS name: mediumvioletred.
What is #CC00AA in RGB?
rgb(204, 0, 170): red 204, green 0, blue 170.
What is the complementary color of #CC00AA?
#00CC22, found by rotating the hue 180°.