Prince Charming color: hex code #CC2277

#CC2277 rgb(204, 34, 119)
Shades of pink

Prince Charming has the hex code #CC2277. It is a moderate rose.

In the RGB color model it is made of 80% red, 13.3% green and 46.7% blue (204, 34, 119).

Its hue angle is 330°, with 71% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 83% magenta, 42% yellow and 20% black.

White text is the more readable choice on this background (contrast 5.17:1).

Prince Charming (#CC2277) color codes

HEX#CC2277
RGBrgb(204, 34, 119)
RGB percentrgb(80%, 13.3%, 46.7%)
HSLhsl(330, 71%, 47%)
HSV / HSBhsv(330, 83%, 80%)
CMYKcmyk(0%, 83%, 42%, 20%)
CIE LABlab(46.07, 68.33, -4.53)
CIE LCHlch(46.07, 68.48, 356.2)
CIE XYZxyz(28.806, 15.317, 18.889)
Decimal13378167
Short hex#C27

Color harmonies

Colors that go with Prince Charming, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #CC2277RatioAAAAAAA large
Sample text4.06:1FailFailPass
Sample text5.17:1PassFailPass
#CC2277 as text onRatioAAAAAAA large
Sample text5.17:1PassFailPass
Sample text4.06:1FailFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #CC2277 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #cc2277; }
.text { color: #cc2277; }
.border { border: 2px solid #cc2277; }
.transparent { background-color: rgb(204 34 119 / 50%); }
.gradient { background: linear-gradient(to right, #cc2277, #cc2222); }
Background
Text color
Border

Similar colors

Closest common color name: Medium Violet Red.

See #CC2277 on its hex code page

Questions

What color is #CC2277?
#CC2277 is a moderate rose known as Prince Charming. It belongs to the pink family of colors.
What is the RGB value of Prince Charming?
The RGB value is 204, 34, 119: 204 red, 34 green and 119 blue on a 0 to 255 scale.
What is the complementary color of Prince Charming?
The complementary color is #22CC77, found by rotating the hue 180° on the color wheel.
Is black or white text better on #CC2277?
White text. Black text has a contrast ratio of 4.06:1 and white text 5.17:1. WCAG asks for at least 4.5:1 for normal text.