Candy Cane to Sablé Gradient
CSS
background: linear-gradient(90deg, #f7bfc2 0%, #f6d8be 100%);
From Candy Cane (#F7BFC2) to Sablé (#F6D8BE). The two hues are 31° 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 Cane | #F7BFC2 | 247, 191, 194 | 357°, 78%, 86% | 0, 23, 21, 3 | |
| 25% (near Millennial Pink) | #F7C5C1 | 247, 197, 193 | 4°, 77%, 86% | 0, 20, 22, 3 | |
| 50% (near Millennial Pink) | #F7CCC0 | 247, 204, 192 | 13°, 77%, 86% | 0, 17, 22, 3 | |
| 75% (near Maiden’s Blush) | #F6D2BF | 246, 210, 191 | 21°, 75%, 86% | 0, 15, 22, 4 | |
| Sablé | #F6D8BE | 246, 216, 190 | 28°, 76%, 85% | 0, 12, 23, 4 |
Halfway along, the gradient is #F7CCC0, closest to the named color Millennial 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.17:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f7bfc2, #f6d8be) - Diagonal:
linear-gradient(135deg, #f7bfc2, #f6d8be) - Radial, from the center out:
radial-gradient(circle, #f7bfc2, #f6d8be) - Tailwind CSS:
bg-gradient-to-r from-[#f7bfc2] to-[#f6d8be]
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 Cane to Sablé gradient?
It starts at #F7BFC2 (Candy Cane) and ends at #F6D8BE (Sablé), with #F7CCC0 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f7bfc2, #f6d8be) runs from Sablé on the left to Candy Cane on the right.