← All gradients
35%How it works
Curated

Coffee Bean

#5C3D2E
#3B2418
#1A0F0A
Text readability
Curated WarmDark

Coffee Bean is a warm and dark 3-colour linear gradient that runs from deep orange (#5C3D2E) through charcoal (#3B2418) to near-black (#1A0F0A) 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 14.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(160deg, #5C3D2E, #3B2418, #1A0F0A);
Tailwind
bg-[linear-gradient(160deg,#5C3D2E,#3B2418,#1A0F0A)]
Figma token
{
    "coffee-bean": {
        "value": "linear-gradient(160deg, #5C3D2E 0%, #3B2418 50%, #1A0F0A 100%)",
        "type": "color"
    }
}

Coffee Bean gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let coffeeBeanGradient = LinearGradient(
    colors: [
        Color(red: 0.361, green: 0.239, blue: 0.18),
        Color(red: 0.231, green: 0.141, blue: 0.094),
        Color(red: 0.102, green: 0.059, blue: 0.039)
    ],
    startPoint: UnitPoint(x: 0.318, y: 0),
    endPoint: UnitPoint(x: 0.682, y: 1)
)

// Usage
Rectangle().fill(coffeeBeanGradient)

Colours in the Coffee Bean gradient

StopNameHEXRGBHSL
1Deep orange#5C3D2Ergb(92, 61, 46)hsl(20, 33%, 27%)
2Charcoal#3B2418rgb(59, 36, 24)hsl(21, 42%, 16%)
3Near-black#1A0F0Argb(26, 15, 10)hsl(19, 44%, 7%)

Coffee Bean gradient in use

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

Coffee Bean 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 Coffee Bean gradient?

The Coffee Bean gradient uses 3 colours: #5C3D2E, #3B2418 and #1A0F0A, at an angle of 160°.

How do I use the Coffee Bean gradient in CSS?

Paste background: linear-gradient(160deg, #5C3D2E, #3B2418, #1A0F0A); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Coffee Bean gradient?

White text has the best contrast, at 14.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.