← All gradients
35%How it works
Curated

Chocolate

#7B3F00
#4A2511
#1E0F06
Text readability
Curated WarmDark

Chocolate is a warm and dark 3-colour linear gradient that runs from deep orange (#7B3F00) through deep orange (#4A2511) to near-black (#1E0F06) 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 13.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(160deg, #7B3F00, #4A2511, #1E0F06);
Tailwind
bg-[linear-gradient(160deg,#7B3F00,#4A2511,#1E0F06)]
Figma token
{
    "chocolate": {
        "value": "linear-gradient(160deg, #7B3F00 0%, #4A2511 50%, #1E0F06 100%)",
        "type": "color"
    }
}

Chocolate gradient for SwiftUI, Flutter, Android and more

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

let chocolateGradient = LinearGradient(
    colors: [
        Color(red: 0.482, green: 0.247, blue: 0),
        Color(red: 0.29, green: 0.145, blue: 0.067),
        Color(red: 0.118, green: 0.059, blue: 0.024)
    ],
    startPoint: UnitPoint(x: 0.318, y: 0),
    endPoint: UnitPoint(x: 0.682, y: 1)
)

// Usage
Rectangle().fill(chocolateGradient)

Colours in the Chocolate gradient

StopNameHEXRGBHSL
1Deep orange#7B3F00rgb(123, 63, 0)hsl(31, 100%, 24%)
2Deep orange#4A2511rgb(74, 37, 17)hsl(21, 63%, 18%)
3Near-black#1E0F06rgb(30, 15, 6)hsl(23, 67%, 7%)

Chocolate gradient in use

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

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

The Chocolate gradient uses 3 colours: #7B3F00, #4A2511 and #1E0F06, at an angle of 160°.

How do I use the Chocolate gradient in CSS?

Paste background: linear-gradient(160deg, #7B3F00, #4A2511, #1E0F06); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Chocolate gradient?

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