Prince Charming to Lionheart Gradient
CSS
background: linear-gradient(90deg, #cc2277 0%, #cc2222 100%);
From Prince Charming (#CC2277) to Lionheart (#CC2222). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Prince Charming | #CC2277 | 204, 34, 119 | 330°, 71%, 47% | 0, 83, 42, 20 | |
| 25% (near Beet Wave) | #CC2262 | 204, 34, 98 | 337°, 71%, 47% | 0, 83, 52, 20 | |
| 50% (near Love Surge) | #CC224D | 204, 34, 77 | 345°, 71%, 47% | 0, 83, 62, 20 | |
| 75% (near Methadone) | #CC2237 | 204, 34, 55 | 353°, 71%, 47% | 0, 83, 73, 20 | |
| Lionheart | #CC2222 | 204, 34, 34 | 0°, 71%, 47% | 0, 83, 83, 20 |
Halfway along, the gradient is #CC224D, closest to the named color Love Surge. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.06:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #cc2277, #cc2222) - Diagonal:
linear-gradient(135deg, #cc2277, #cc2222) - Radial, from the center out:
radial-gradient(circle, #cc2277, #cc2222) - Tailwind CSS:
bg-gradient-to-r from-[#cc2277] to-[#cc2222]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Prince Charming to Lionheart gradient?
It starts at #CC2277 (Prince Charming) and ends at #CC2222 (Lionheart), with #CC224D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #cc2277, #cc2222) runs from Lionheart on the left to Prince Charming on the right.