Cotton Candy Explosions to Magnificent Magenta Gradient
CSS
background: linear-gradient(90deg, #dd22ff 0%, #ee22aa 100%);
From Cotton Candy Explosions (#DD22FF) to Magnificent Magenta (#EE22AA). The two hues are 29° 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 | |
|---|---|---|---|---|---|
| Cotton Candy Explosions | #DD22FF | 221, 34, 255 | 291°, 100%, 57% | 13, 87, 0, 0 | |
| 25% (near Magenta Fizz) | #E122EA | 225, 34, 234 | 297°, 83%, 53% | 4, 85, 0, 8 | |
| 50% (near Pink Pride) | #E622D5 | 230, 34, 213 | 305°, 80%, 52% | 0, 85, 7, 10 | |
| 75% (near Magnificent Magenta) | #EA22BF | 234, 34, 191 | 313°, 83%, 53% | 0, 85, 18, 8 | |
| Magnificent Magenta | #EE22AA | 238, 34, 170 | 320°, 86%, 53% | 0, 86, 29, 7 |
Halfway along, the gradient is #E622D5, closest to the named color Pink Pride. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black 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, #dd22ff, #ee22aa) - Diagonal:
linear-gradient(135deg, #dd22ff, #ee22aa) - Radial, from the center out:
radial-gradient(circle, #dd22ff, #ee22aa) - Tailwind CSS:
bg-gradient-to-r from-[#dd22ff] to-[#ee22aa]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Cotton Candy Explosions to Magnificent Magenta gradient?
It starts at #DD22FF (Cotton Candy Explosions) and ends at #EE22AA (Magnificent Magenta), with #E622D5 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #dd22ff, #ee22aa) runs from Magnificent Magenta on the left to Cotton Candy Explosions on the right.