← All gradients
35%How it works
Curated

Ebony

#5A4636
#2A1F18
#0B0806
Text readability
Curated NeutralDark

Ebony is a neutral and dark 3-colour linear gradient that runs from charcoal (#5A4636) through charcoal (#2A1F18) to near-black (#0B0806) at 160°. It suits subtle surfaces and app backgrounds and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 15.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(160deg, #5A4636, #2A1F18, #0B0806);
Tailwind
bg-[linear-gradient(160deg,#5A4636,#2A1F18,#0B0806)]
Figma token
{
    "ebony": {
        "value": "linear-gradient(160deg, #5A4636 0%, #2A1F18 50%, #0B0806 100%)",
        "type": "color"
    }
}

Ebony gradient for SwiftUI, Flutter, Android and more

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

let ebonyGradient = LinearGradient(
    colors: [
        Color(red: 0.353, green: 0.275, blue: 0.212),
        Color(red: 0.165, green: 0.122, blue: 0.094),
        Color(red: 0.043, green: 0.031, blue: 0.024)
    ],
    startPoint: UnitPoint(x: 0.318, y: 0),
    endPoint: UnitPoint(x: 0.682, y: 1)
)

// Usage
Rectangle().fill(ebonyGradient)

Colours in the Ebony gradient

StopNameHEXRGBHSL
1Charcoal#5A4636rgb(90, 70, 54)hsl(27, 25%, 28%)
2Charcoal#2A1F18rgb(42, 31, 24)hsl(23, 27%, 13%)
3Near-black#0B0806rgb(11, 8, 6)hsl(24, 29%, 3%)

Ebony gradient in use

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

Ebony 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 Ebony gradient?

The Ebony gradient uses 3 colours: #5A4636, #2A1F18 and #0B0806, at an angle of 160°.

How do I use the Ebony gradient in CSS?

Paste background: linear-gradient(160deg, #5A4636, #2A1F18, #0B0806); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Ebony gradient?

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