Benevolent Pink to Piercing Red Gradient
CSS
background: linear-gradient(90deg, #dd1188 0%, #dd1122 100%);
From Benevolent Pink (#DD1188) to Piercing Red (#DD1122). 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 | |
|---|---|---|---|---|---|
| Benevolent Pink | #DD1188 | 221, 17, 136 | 325°, 86%, 47% | 0, 92, 38, 13 | |
| 25% (near Magenta Elephant) | #DD116F | 221, 17, 111 | 332°, 86%, 47% | 0, 92, 50, 13 | |
| 50% (near Rubylicious) | #DD1155 | 221, 17, 85 | 340°, 86%, 47% | 0, 92, 62, 13 | |
| 75% (near Red Herring) | #DD113C | 221, 17, 60 | 347°, 86%, 47% | 0, 92, 73, 13 | |
| Piercing Red | #DD1122 | 221, 17, 34 | 355°, 86%, 47% | 0, 92, 85, 13 |
Halfway along, the gradient is #DD1155, closest to the named color Rubylicious. 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.08:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #dd1188, #dd1122) - Diagonal:
linear-gradient(135deg, #dd1188, #dd1122) - Radial, from the center out:
radial-gradient(circle, #dd1188, #dd1122) - Tailwind CSS:
bg-gradient-to-r from-[#dd1188] to-[#dd1122]
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 Benevolent Pink to Piercing Red gradient?
It starts at #DD1188 (Benevolent Pink) and ends at #DD1122 (Piercing Red), with #DD1155 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #dd1188, #dd1122) runs from Piercing Red on the left to Benevolent Pink on the right.