#CC11BB color

#CC11BB is rgb(204, 17, 187) in RGB and hsl(305, 85%, 43%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 8.8). Use white text on it (contrast 4.81:1).

#CC11BBmagenta
HEX#CC11BB
Short HEX#C1B
RGBrgb(204, 17, 187)
RGB percentrgb(80%, 6.7%, 73.3%)
HSLhsl(305, 85%, 43%)
HSV / HSBhsv(305, 92%, 80%)
CMYKcmyk(0%, 92%, 8%, 20%)

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

About #CC11BB

#CC11BB is a medium, vivid magenta with a hue angle of 305°. 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#CC11BB
Short HEX#C1B
RGBrgb(204, 17, 187)
RGB percentrgb(80%, 6.7%, 73.3%)
HSLhsl(305, 85%, 43%)
HSV / HSBhsv(305, 92%, 80%)
CMYKcmyk(0%, 92%, 8%, 20%)
CIELAB (D65)lab(48 79.1 -42.3)
Decimal13373883
Binary11001100 00010001 10111011

HEX CC 11 BB → 204, 17, 187 (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 #CC11BB

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC11BBRatioAA normalAA largeAAA normalAAA large
White text4.81:1PassPassFailPass
Black text4.37:1FailPassFailFail
White text on #CC11BB
Black text on #CC11BB
#CC11BB text on white
#CC11BB text on black

Relative luminance is 0.1683 (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
#0062bf

Deuteranopia
#5f7bb7

Tritanopia
#d5316f

Achromatopsia
#727272

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 31.6). 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
mediumorchid#ba55d38.8
mediumvioletred#c715859.6
darkorchid#9932cc10
darkviolet#9400d312.5

Nearby colors

CSS

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

Frequently asked questions

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