#CC11DD color

#CC11DD is rgb(204, 17, 221) in RGB and hsl(295, 86%, 47%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 6.8). Use black text on it (contrast 4.69:1).

#CC11DDmagenta
HEX#CC11DD
Short HEX#C1D
RGBrgb(204, 17, 221)
RGB percentrgb(80%, 6.7%, 86.7%)
HSLhsl(295, 86%, 47%)
HSV / HSBhsv(295, 92%, 87%)
CMYKcmyk(8%, 92%, 0%, 13%)

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

About #CC11DD

#CC11DD is a medium, vivid magenta with a hue angle of 295°. It belongs to the pink & magenta family and reads as a balanced color. In the RGB model blue is the strongest channel at 221 (87%) 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#CC11DD
Short HEX#C1D
RGBrgb(204, 17, 221)
RGB percentrgb(80%, 6.7%, 86.7%)
HSLhsl(295, 86%, 47%)
HSV / HSBhsv(295, 92%, 87%)
CMYKcmyk(8%, 92%, 0%, 13%)
CIELAB (D65)lab(50.1 84.1 -58.7)
Decimal13373917
Binary11001100 00010001 11011101

HEX CC 11 DD → 204, 17, 221 (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 #CC11DD

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC11DDRatioAA normalAA largeAAA normalAAA large
White text4.48:1FailPassFailFail
Black text4.69:1PassPassFailPass
White text on #CC11DD
Black text on #CC11DD
#CC11DD text on white
#CC11DD text on black

Relative luminance is 0.1846 (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
#006ae2

Deuteranopia
#467ed9

Tritanopia
#d04883

Achromatopsia
#777777

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 32.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
mediumorchid#ba55d36.8
darkorchid#9932cc8.7
magenta#ff00ff10.1
darkviolet#9400d311.3

Nearby colors

CSS

.element {
  color: #cc11dd;
  background-color: rgb(204, 17, 221);
  border: 1px solid hsl(295, 86%, 47%);
  box-shadow: 0 2px 8px rgb(204 17 221 / 50%);
}
:root { --brand: #cc11dd; }

Frequently asked questions

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