#CC22BB color

#CC22BB is rgb(204, 34, 187) in RGB and hsl(306, 71%, 47%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 8). Use white text on it (contrast 4.65:1).

#CC22BBmagenta
HEX#CC22BB
Short HEX#C2B
RGBrgb(204, 34, 187)
RGB percentrgb(80%, 13.3%, 73.3%)
HSLhsl(306, 71%, 47%)
HSV / HSBhsv(306, 83%, 80%)
CMYKcmyk(0%, 83%, 8%, 20%)

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

About #CC22BB

#CC22BB is a medium, saturated magenta with a hue angle of 306°. 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 34 (13%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#CC22BB
Short HEX#C2B
RGBrgb(204, 34, 187)
RGB percentrgb(80%, 13.3%, 73.3%)
HSLhsl(306, 71%, 47%)
HSV / HSBhsv(306, 83%, 80%)
CMYKcmyk(0%, 83%, 8%, 20%)
CIELAB (D65)lab(49 76.4 -40.8)
Decimal13378235
Binary11001100 00100010 10111011

HEX CC 22 BB → 204, 34, 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 #CC22BB

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC22BBRatioAA normalAA largeAAA normalAAA large
White text4.65:1PassPassFailPass
Black text4.51:1PassPassFailPass
White text on #CC22BB
Black text on #CC22BB
#CC22BB text on white
#CC22BB text on black

Relative luminance is 0.1757 (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
#1465bf

Deuteranopia
#627db7

Tritanopia
#d53971

Achromatopsia
#747474

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
mediumorchid#ba55d38
mediumvioletred#c715859.7
darkorchid#9932cc10.5
magenta#ff00ff12.2

Nearby colors

CSS

.element {
  color: #cc22bb;
  background-color: rgb(204, 34, 187);
  border: 1px solid hsl(306, 71%, 47%);
  box-shadow: 0 2px 8px rgb(204 34 187 / 50%);
}
:root { --brand: #cc22bb; }

Frequently asked questions

What color is #CC22BB?
A medium saturated magenta in the pink & magenta family. Closest CSS name: mediumorchid.
What is #CC22BB in RGB?
rgb(204, 34, 187): red 204, green 34, blue 187.
What is the complementary color of #CC22BB?
#22CC33, found by rotating the hue 180°.