In for a Penny to Shallot Peel Gradient
CSS
background: linear-gradient(90deg, #ee8877 0%, #eec378 100%);
From In for a Penny (#EE8877) to Shallot Peel (#EEC378). 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 | |
|---|---|---|---|---|---|
| In for a Penny | #EE8877 | 238, 136, 119 | 9°, 78%, 70% | 0, 43, 50, 7 | |
| 25% (near Kindleflame) | #EE9777 | 238, 151, 119 | 16°, 78%, 70% | 0, 37, 50, 7 | |
| 50% (near Mexican Standoff) | #EEA678 | 238, 166, 120 | 23°, 78%, 70% | 0, 30, 50, 7 | |
| 75% (near Sunburst) | #EEB478 | 238, 180, 120 | 31°, 78%, 70% | 0, 24, 50, 7 | |
| Shallot Peel | #EEC378 | 238, 195, 120 | 38°, 78%, 70% | 0, 18, 50, 7 |
Halfway along, the gradient is #EEA678, closest to the named color Mexican Standoff. 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.51:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ee8877, #eec378) - Diagonal:
linear-gradient(135deg, #ee8877, #eec378) - Radial, from the center out:
radial-gradient(circle, #ee8877, #eec378) - Tailwind CSS:
bg-gradient-to-r from-[#ee8877] to-[#eec378]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the In for a Penny to Shallot Peel gradient?
It starts at #EE8877 (In for a Penny) and ends at #EEC378 (Shallot Peel), with #EEA678 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ee8877, #eec378) runs from Shallot Peel on the left to In for a Penny on the right.