Bubblegum Heart to Hard Candy Gradient
CSS
background: linear-gradient(90deg, #ffbadf 0%, #ffbbbb 100%);
From Bubblegum Heart (#FFBADF) to Hard Candy (#FFBBBB). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Bubblegum Heart | #FFBADF | 255, 186, 223 | 328°, 100%, 86% | 0, 27, 13, 0 | |
| 25% (near Candy Bar) | #FFBAD6 | 255, 186, 214 | 336°, 100%, 86% | 0, 27, 16, 0 | |
| 50% (near Baby Pink) | #FFBBCD | 255, 187, 205 | 344°, 100%, 87% | 0, 27, 20, 0 | |
| 75% (near Love Affair) | #FFBBC4 | 255, 187, 196 | 352°, 100%, 87% | 0, 27, 23, 0 | |
| Hard Candy | #FFBBBB | 255, 187, 187 | 0°, 100%, 87% | 0, 27, 27, 0 |
Halfway along, the gradient is #FFBBCD, closest to the named color Baby Pink. 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.02:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ffbadf, #ffbbbb) - Diagonal:
linear-gradient(135deg, #ffbadf, #ffbbbb) - Radial, from the center out:
radial-gradient(circle, #ffbadf, #ffbbbb) - Tailwind CSS:
bg-gradient-to-r from-[#ffbadf] to-[#ffbbbb]
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 Bubblegum Heart to Hard Candy gradient?
It starts at #FFBADF (Bubblegum Heart) and ends at #FFBBBB (Hard Candy), with #FFBBCD in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffbadf, #ffbbbb) runs from Hard Candy on the left to Bubblegum Heart on the right.