Smoky Charcoal to Ethereal Espresso Gradient
CSS
background: linear-gradient(90deg, #34282c 0%, #3e2723 100%);
From Smoky Charcoal (#34282C) to Ethereal Espresso (#3E2723). The two hues are 29° 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 | |
|---|---|---|---|---|---|
| Smoky Charcoal | #34282C | 52, 40, 44 | 340°, 13%, 18% | 0, 23, 15, 80 | |
| 25% (near Aubergine) | #37282A | 55, 40, 42 | 352°, 16%, 19% | 0, 27, 24, 78 | |
| 50% (near Aubergine) | #392828 | 57, 40, 40 | 0°, 18%, 19% | 0, 30, 30, 78 | |
| 75% (near Ethereal Espresso) | #3C2725 | 60, 39, 37 | 5°, 24%, 19% | 0, 35, 38, 76 | |
| Ethereal Espresso | #3E2723 | 62, 39, 35 | 9°, 28%, 19% | 0, 37, 44, 76 |
Halfway along, the gradient is #392828, closest to the named color Aubergine. 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.02:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #34282c, #3e2723) - Diagonal:
linear-gradient(135deg, #34282c, #3e2723) - Radial, from the center out:
radial-gradient(circle, #34282c, #3e2723) - Tailwind CSS:
bg-gradient-to-r from-[#34282c] to-[#3e2723]
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 Smoky Charcoal to Ethereal Espresso gradient?
It starts at #34282C (Smoky Charcoal) and ends at #3E2723 (Ethereal Espresso), with #392828 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #34282c, #3e2723) runs from Ethereal Espresso on the left to Smoky Charcoal on the right.