Chocolate Rush to Pineapple Gradient
CSS
background: linear-gradient(90deg, #4e1b0b 0%, #563c0d 100%);
From Chocolate Rush (#4E1B0B) to Pineapple (#563C0D). The two hues are 24° 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 | |
|---|---|---|---|---|---|
| Chocolate Rush | #4E1B0B | 78, 27, 11 | 14°, 75%, 17% | 0, 65, 86, 69 | |
| 25% (near Chocolate Rush) | #50230C | 80, 35, 12 | 20°, 74%, 18% | 0, 56, 85, 69 | |
| 50% (near Moelleux au Chocolat) | #522C0C | 82, 44, 12 | 27°, 74%, 18% | 0, 46, 85, 68 | |
| 75% (near Moelleux au Chocolat) | #54340D | 84, 52, 13 | 33°, 73%, 19% | 0, 38, 85, 67 | |
| Pineapple | #563C0D | 86, 60, 13 | 39°, 74%, 19% | 0, 30, 85, 66 |
Halfway along, the gradient is #522C0C, closest to the named color Moelleux au Chocolat. 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.38:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #4e1b0b, #563c0d) - Diagonal:
linear-gradient(135deg, #4e1b0b, #563c0d) - Radial, from the center out:
radial-gradient(circle, #4e1b0b, #563c0d) - Tailwind CSS:
bg-gradient-to-r from-[#4e1b0b] to-[#563c0d]
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 Chocolate Rush to Pineapple gradient?
It starts at #4E1B0B (Chocolate Rush) and ends at #563C0D (Pineapple), with #522C0C in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #4e1b0b, #563c0d) runs from Pineapple on the left to Chocolate Rush on the right.