#CC2255 color

#CC2255 is rgb(204, 34, 85) in RGB and hsl(342, 71%, 47%) in HSL. The closest CSS named color is crimson (#dc143c, ΔE 8.2). Use white text on it (contrast 5.35:1).

#CC2255crimson
HEX#CC2255
Short HEX#C25
RGBrgb(204, 34, 85)
RGB percentrgb(80%, 13.3%, 33.3%)
HSLhsl(342, 71%, 47%)
HSV / HSBhsv(342, 83%, 80%)
CMYKcmyk(0%, 83%, 58%, 20%)

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

About #CC2255

#CC2255 is a medium, saturated crimson with a hue angle of 342°. 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#CC2255
Short HEX#C25
RGBrgb(204, 34, 85)
RGB percentrgb(80%, 13.3%, 33.3%)
HSLhsl(342, 71%, 47%)
HSV / HSBhsv(342, 83%, 80%)
CMYKcmyk(0%, 83%, 58%, 20%)
CIELAB (D65)lab(45.1 65.6 15.2)
Decimal13378133
Binary11001100 00100010 01010101

HEX CC 22 55 → 204, 34, 85 (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 #CC2255

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC2255RatioAA normalAA largeAAA normalAAA large
White text5.35:1PassPassFailPass
Black text3.93:1FailPassFailFail
White text on #CC2255
Black text on #CC2255
#CC2255 text on white
#CC2255 text on black

Relative luminance is 0.1464 (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
#555556

Deuteranopia
#807751

Tritanopia
#df0039

Achromatopsia
#6b6b6b

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 39.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
crimson#dc143c8.2
indianred#cd5c5c12
mediumvioletred#c7158512.9
brown#a52a2a13

Nearby colors

CSS

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

Frequently asked questions

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