← All gradients
35%How it works
UI

Sunset Hero

#7F1D1D
#B91C1C
#F97316
Text readability
Ui WarmDarkBold

Sunset Hero is a warm, dark and bold 3-colour linear gradient that runs from red (#7F1D1D) through red (#B91C1C) to orange (#F97316) at 135°. 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 5.6:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #7F1D1D, #B91C1C, #F97316);
Tailwind
bg-gradient-to-br from-[#7F1D1D] via-[#B91C1C] to-[#F97316]
Figma token
{
    "sunset-hero": {
        "value": "linear-gradient(135deg, #7F1D1D 0%, #B91C1C 50%, #F97316 100%)",
        "type": "color"
    }
}

Sunset Hero gradient for SwiftUI, Flutter, Android and more

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

let sunsetHeroGradient = LinearGradient(
    colors: [
        Color(red: 0.498, green: 0.114, blue: 0.114),
        Color(red: 0.725, green: 0.11, blue: 0.11),
        Color(red: 0.976, green: 0.451, blue: 0.086)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(sunsetHeroGradient)

Colours in the Sunset Hero gradient

StopNameHEXRGBHSL
1Red#7F1D1Drgb(127, 29, 29)hsl(0, 63%, 31%)
2Red#B91C1Crgb(185, 28, 28)hsl(0, 74%, 42%)
3Orange#F97316rgb(249, 115, 22)hsl(25, 95%, 53%)

Sunset Hero gradient in use

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

Sunset Hero 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 Sunset Hero gradient?

The Sunset Hero gradient uses 3 colours: #7F1D1D, #B91C1C and #F97316, at an angle of 135°.

How do I use the Sunset Hero gradient in CSS?

Paste background: linear-gradient(135deg, #7F1D1D, #B91C1C, #F97316); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Sunset Hero gradient?

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