Candy to Golden Eye Gradient
CSS
background: linear-gradient(90deg, #ff9b87 0%, #ffd789 100%);
From Candy (#FF9B87) to Golden Eye (#FFD789). The two hues are 30° 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 | #FF9B87 | 255, 155, 135 | 10°, 100%, 76% | 0, 39, 47, 0 | |
| 25% (near Peach Fizz) | #FFAA88 | 255, 170, 136 | 17°, 100%, 77% | 0, 33, 47, 0 | |
| 50% (near Baltic Amber) | #FFB988 | 255, 185, 136 | 25°, 100%, 77% | 0, 27, 47, 0 | |
| 75% (near Torchlight) | #FFC889 | 255, 200, 137 | 32°, 100%, 77% | 0, 22, 46, 0 | |
| Golden Eye | #FFD789 | 255, 215, 137 | 40°, 100%, 77% | 0, 16, 46, 0 |
Halfway along, the gradient is #FFB988, closest to the named color Baltic Amber. 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.49:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ff9b87, #ffd789) - Diagonal:
linear-gradient(135deg, #ff9b87, #ffd789) - Radial, from the center out:
radial-gradient(circle, #ff9b87, #ffd789) - Tailwind CSS:
bg-gradient-to-r from-[#ff9b87] to-[#ffd789]
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 to Golden Eye gradient?
It starts at #FF9B87 (Candy) and ends at #FFD789 (Golden Eye), with #FFB988 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ff9b87, #ffd789) runs from Golden Eye on the left to Candy on the right.