Cuba Libre to Toffee Gradient
CSS
background: linear-gradient(90deg, #73383c 0%, #755139 100%);
From Cuba Libre (#73383C) to Toffee (#755139). 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 | |
|---|---|---|---|---|---|
| Cuba Libre | #73383C | 115, 56, 60 | 356°, 35%, 34% | 0, 51, 48, 55 | |
| 25% (near Single Origin) | #743E3B | 116, 62, 59 | 3°, 33%, 34% | 0, 47, 49, 55 | |
| 50% (near Chocolate Magma) | #74453B | 116, 69, 59 | 11°, 33%, 34% | 0, 41, 49, 55 | |
| 75% (near Cappuccino) | #754B3A | 117, 75, 58 | 17°, 34%, 34% | 0, 36, 50, 54 | |
| Toffee | #755139 | 117, 81, 57 | 24°, 34%, 34% | 0, 31, 51, 54 |
Halfway along, the gradient is #74453B, closest to the named color Chocolate Magma. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White 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.27:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #73383c, #755139) - Diagonal:
linear-gradient(135deg, #73383c, #755139) - Radial, from the center out:
radial-gradient(circle, #73383c, #755139) - Tailwind CSS:
bg-gradient-to-r from-[#73383c] to-[#755139]
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 Cuba Libre to Toffee gradient?
It starts at #73383C (Cuba Libre) and ends at #755139 (Toffee), with #74453B in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #73383c, #755139) runs from Toffee on the left to Cuba Libre on the right.