← All gradients
35%How it works
Curated

Espresso

#C8A07A
#6F4E37
#2B1B12
Text readability
Curated WarmDark

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 →

CSS
background: linear-gradient(160deg, #C8A07A, #6F4E37, #2B1B12);
Tailwind
bg-[linear-gradient(160deg,#C8A07A,#6F4E37,#2B1B12)]
Figma token
{
    "espresso": {
        "value": "linear-gradient(160deg, #C8A07A 0%, #6F4E37 50%, #2B1B12 100%)",
        "type": "color"
    }
}

Espresso gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Espresso gradient

StopNameHEXRGBHSL
1Light orange#C8A07Argb(200, 160, 122)hsl(29, 41%, 63%)
2Orange#6F4E37rgb(111, 78, 55)hsl(25, 34%, 33%)
3Charcoal#2B1B12rgb(43, 27, 18)hsl(22, 41%, 12%)

Espresso gradient in use

Build something beautifulA hero section on the Espresso gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Espresso gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Espresso gradient?

The Espresso gradient uses 3 colours: #C8A07A, #6F4E37 and #2B1B12, at an angle of 160°.

How do I use the Espresso gradient in CSS?

Paste background: linear-gradient(160deg, #C8A07A, #6F4E37, #2B1B12); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Espresso gradient?

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.