Fairy Floss to Oatmeal Cookie Gradient
CSS
background: linear-gradient(90deg, #ebc9c6 0%, #eadac6 100%);
From Fairy Floss (#EBC9C6) to Oatmeal Cookie (#EADAC6). 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 | |
|---|---|---|---|---|---|
| Fairy Floss | #EBC9C6 | 235, 201, 198 | 5°, 48%, 85% | 0, 14, 16, 8 | |
| 25% (near Fairy Floss) | #EBCDC6 | 235, 205, 198 | 11°, 48%, 85% | 0, 13, 16, 8 | |
| 50% (near Blushing Coconut) | #EBD2C6 | 235, 210, 198 | 19°, 48%, 85% | 0, 11, 16, 8 | |
| 75% (near Oatmeal Cookie) | #EAD6C6 | 234, 214, 198 | 27°, 46%, 85% | 0, 9, 15, 8 | |
| Oatmeal Cookie | #EADAC6 | 234, 218, 198 | 33°, 46%, 85% | 0, 7, 15, 8 |
Halfway along, the gradient is #EBD2C6, closest to the named color Blushing Coconut. 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.12:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ebc9c6, #eadac6) - Diagonal:
linear-gradient(135deg, #ebc9c6, #eadac6) - Radial, from the center out:
radial-gradient(circle, #ebc9c6, #eadac6) - Tailwind CSS:
bg-gradient-to-r from-[#ebc9c6] to-[#eadac6]
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 Fairy Floss to Oatmeal Cookie gradient?
It starts at #EBC9C6 (Fairy Floss) and ends at #EADAC6 (Oatmeal Cookie), with #EBD2C6 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ebc9c6, #eadac6) runs from Oatmeal Cookie on the left to Fairy Floss on the right.