Pretty in Pink to Love Affair Gradient
CSS
background: linear-gradient(90deg, #fabfe4 0%, #ffbec8 100%);
From Pretty in Pink (#FABFE4) to Love Affair (#FFBEC8). 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 | |
|---|---|---|---|---|---|
| Pretty in Pink | #FABFE4 | 250, 191, 228 | 322°, 86%, 86% | 0, 24, 9, 2 | |
| 25% (near Cotton Candy) | #FBBFDD | 251, 191, 221 | 330°, 88%, 87% | 0, 24, 12, 2 | |
| 50% (near Cotton Candy) | #FDBFD6 | 253, 191, 214 | 338°, 94%, 87% | 0, 25, 15, 1 | |
| 75% (near Pink) | #FEBECF | 254, 190, 207 | 344°, 97%, 87% | 0, 25, 19, 0 | |
| Love Affair | #FFBEC8 | 255, 190, 200 | 351°, 100%, 87% | 0, 25, 22, 0 |
Halfway along, the gradient is #FDBFD6, closest to the named color Cotton Candy. 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.01:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fabfe4, #ffbec8) - Diagonal:
linear-gradient(135deg, #fabfe4, #ffbec8) - Radial, from the center out:
radial-gradient(circle, #fabfe4, #ffbec8) - Tailwind CSS:
bg-gradient-to-r from-[#fabfe4] to-[#ffbec8]
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 Pretty in Pink to Love Affair gradient?
It starts at #FABFE4 (Pretty in Pink) and ends at #FFBEC8 (Love Affair), with #FDBFD6 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fabfe4, #ffbec8) runs from Love Affair on the left to Pretty in Pink on the right.