#C8A07A
#6F4E37
#2B1B12
Espresso is a warm and dark 3-colour linear gradient that runs from light orange (#C8A07A) through orange (#6F4E37) to charcoal (#2B1B12) at 160°. It suits hero sections and call-to-action buttons and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 6.5:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(160deg, #C8A07A, #6F4E37, #2B1B12);
bg-[linear-gradient(160deg,#C8A07A,#6F4E37,#2B1B12)]
{
"espresso": {
"value": "linear-gradient(160deg, #C8A07A 0%, #6F4E37 50%, #2B1B12 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let espressoGradient = LinearGradient(
colors: [
Color(red: 0.784, green: 0.627, blue: 0.478),
Color(red: 0.435, green: 0.306, blue: 0.216),
Color(red: 0.169, green: 0.106, blue: 0.071)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(espressoGradient)val espressoColors = listOf(Color(0xFFC8A07A), Color(0xFF6F4E37), Color(0xFF2B1B12))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = espressoColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/espresso_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#C8A07A"
android:centerColor="#6F4E37"
android:endColor="#2B1B12"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const espressoGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFFC8A07A), Color(0xFF6F4E37), Color(0xFF2B1B12)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: espressoGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#C8A07A', '#6F4E37', '#2B1B12']}
start={{ x: 0.318, y: 0 }}
end={{ x: 0.682, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="espresso" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#C8A07A" />
<stop offset="50%" stop-color="#6F4E37" />
<stop offset="100%" stop-color="#2B1B12" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#espresso)" />
</svg>:root {
--espresso-1: #C8A07A;
--espresso-2: #6F4E37;
--espresso-3: #2B1B12;
--espresso-angle: 160deg;
--espresso: linear-gradient(var(--espresso-angle), var(--espresso-1), var(--espresso-2), var(--espresso-3));
}
.hero {
background: var(--espresso);
}$espresso-1: #C8A07A;
$espresso-2: #6F4E37;
$espresso-3: #2B1B12;
$espresso: linear-gradient(160deg, $espresso-1, $espresso-2, $espresso-3);
@mixin espresso-bg {
background: $espresso-1;
background: $espresso;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light orange | #C8A07A | rgb(200, 160, 122) | hsl(29, 41%, 63%) |
| 2 | Orange | #6F4E37 | rgb(111, 78, 55) | hsl(25, 34%, 33%) |
| 3 | Charcoal | #2B1B12 | rgb(43, 27, 18) | hsl(22, 41%, 12%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Espresso gradient uses 3 colours: #C8A07A, #6F4E37 and #2B1B12, at an angle of 160°.
Paste background: linear-gradient(160deg, #C8A07A, #6F4E37, #2B1B12); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 6.5:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.