#CC00DD color

#CC00DD is rgb(204, 0, 221) in RGB and hsl(295, 100%, 43%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 7.3). Use black text on it (contrast 4.61:1).

#CC00DDmagenta
HEX#CC00DD
Short HEX#C0D
RGBrgb(204, 0, 221)
RGB percentrgb(80%, 0%, 86.7%)
HSLhsl(295, 100%, 43%)
HSV / HSBhsv(295, 100%, 87%)
CMYKcmyk(8%, 100%, 0%, 13%)

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

About #CC00DD

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

Color conversions

HEX#CC00DD
Short HEX#C0D
RGBrgb(204, 0, 221)
RGB percentrgb(80%, 0%, 86.7%)
HSLhsl(295, 100%, 43%)
HSV / HSBhsv(295, 100%, 87%)
CMYKcmyk(8%, 100%, 0%, 13%)
CIELAB (D65)lab(49.6 85.6 -59.5)
Decimal13369565
Binary11001100 00000000 11011101

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

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC00DDRatioAA normalAA largeAAA normalAAA large
White text4.55:1PassPassFailPass
Black text4.61:1PassPassFailPass
White text on #CC00DD
Black text on #CC00DD
#CC00DD text on white
#CC00DD text on black

Relative luminance is 0.1806 (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
#0069e2

Deuteranopia
#447dd9

Tritanopia
#d04582

Achromatopsia
#767676

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

Nearby colors

CSS

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

Frequently asked questions

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