#CC0066 color

#CC0066 is rgb(204, 0, 102) in RGB and hsl(330, 100%, 40%) in HSL. The closest CSS named color is mediumvioletred (#c71585, ΔE 7.3). Use white text on it (contrast 5.59:1).

#CC0066rose
HEX#CC0066
Short HEX#C06
RGBrgb(204, 0, 102)
RGB percentrgb(80%, 0%, 40%)
HSLhsl(330, 100%, 40%)
HSV / HSBhsv(330, 100%, 80%)
CMYKcmyk(0%, 100%, 50%, 20%)

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

About #CC0066

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

Color conversions

HEX#CC0066
Short HEX#C06
RGBrgb(204, 0, 102)
RGB percentrgb(80%, 0%, 40%)
HSLhsl(330, 100%, 40%)
HSV / HSBhsv(330, 100%, 80%)
CMYKcmyk(0%, 100%, 50%, 20%)
CIELAB (D65)lab(43.9 71.5 2.9)
Decimal13369446
Binary11001100 00000000 01100110

HEX CC 00 66 → 204, 0, 102 (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 #CC0066

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC0066RatioAA normalAA largeAAA normalAAA large
White text5.59:1PassPassFailPass
Black text3.76:1FailPassFailFail
White text on #CC0066
Black text on #CC0066
#CC0066 text on white
#CC0066 text on black

Relative luminance is 0.1380 (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
#485168

Deuteranopia
#797462

Tritanopia
#df003b

Achromatopsia
#686868

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 36.5). 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#c715857.3
deeppink#ff149312.8
crimson#dc143c14
indianred#cd5c5c16.8

Nearby colors

CSS

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

Frequently asked questions

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