Dogwood to Diamond Gradient
CSS
background: linear-gradient(90deg, #faeae2 0%, #faf7e2 100%);
From Dogwood (#FAEAE2) to Diamond (#FAF7E2). The two hues are 33° 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 | |
|---|---|---|---|---|---|
| Dogwood | #FAEAE2 | 250, 234, 226 | 20°, 71%, 93% | 0, 6, 10, 2 | |
| 25% (near Alpaca) | #FAEDE2 | 250, 237, 226 | 28°, 71%, 93% | 0, 5, 10, 2 | |
| 50% (near Silk Lining) | #FAF1E2 | 250, 241, 226 | 38°, 71%, 93% | 0, 4, 10, 2 | |
| 75% (near Diamond) | #FAF4E2 | 250, 244, 226 | 45°, 71%, 93% | 0, 2, 10, 2 | |
| Diamond | #FAF7E2 | 250, 247, 226 | 53°, 71%, 93% | 0, 1, 10, 2 |
Halfway along, the gradient is #FAF1E2, closest to the named color Silk Lining. 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.09:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #faeae2, #faf7e2) - Diagonal:
linear-gradient(135deg, #faeae2, #faf7e2) - Radial, from the center out:
radial-gradient(circle, #faeae2, #faf7e2) - Tailwind CSS:
bg-gradient-to-r from-[#faeae2] to-[#faf7e2]
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 Dogwood to Diamond gradient?
It starts at #FAEAE2 (Dogwood) and ends at #FAF7E2 (Diamond), with #FAF1E2 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #faeae2, #faf7e2) runs from Diamond on the left to Dogwood on the right.