Candy Floss to Think Pink Gradient
CSS
background: linear-gradient(90deg, #e8a7e2 0%, #e5a5c1 100%);
From Candy Floss (#E8A7E2) to Think Pink (#E5A5C1). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Candy Floss | #E8A7E2 | 232, 167, 226 | 306°, 59%, 78% | 0, 28, 3, 9 | |
| 25% (near Candy Floss) | #E7A7DA | 231, 167, 218 | 312°, 57%, 78% | 0, 28, 6, 9 | |
| 50% (near Pink Bliss) | #E7A6D2 | 231, 166, 210 | 319°, 58%, 78% | 0, 28, 9, 9 | |
| 75% (near Elastic Pink) | #E6A6C9 | 230, 166, 201 | 327°, 56%, 78% | 0, 28, 13, 10 | |
| Think Pink | #E5A5C1 | 229, 165, 193 | 334°, 55%, 77% | 0, 28, 16, 10 |
Halfway along, the gradient is #E7A6D2, closest to the named color Pink Bliss. 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.05:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #e8a7e2, #e5a5c1) - Diagonal:
linear-gradient(135deg, #e8a7e2, #e5a5c1) - Radial, from the center out:
radial-gradient(circle, #e8a7e2, #e5a5c1) - Tailwind CSS:
bg-gradient-to-r from-[#e8a7e2] to-[#e5a5c1]
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 Candy Floss to Think Pink gradient?
It starts at #E8A7E2 (Candy Floss) and ends at #E5A5C1 (Think Pink), with #E7A6D2 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #e8a7e2, #e5a5c1) runs from Think Pink on the left to Candy Floss on the right.