#7F1D1D
#B91C1C
#F97316
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 →
background: linear-gradient(135deg, #7F1D1D, #B91C1C, #F97316);
bg-gradient-to-br from-[#7F1D1D] via-[#B91C1C] to-[#F97316]
{
"sunset-hero": {
"value": "linear-gradient(135deg, #7F1D1D 0%, #B91C1C 50%, #F97316 100%)",
"type": "color"
}
}
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)val sunsetHeroColors = listOf(Color(0xFF7F1D1D), Color(0xFFB91C1C), Color(0xFFF97316))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = sunsetHeroColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/sunset-hero_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#7F1D1D"
android:centerColor="#B91C1C"
android:endColor="#F97316"
android:type="linear" />
</shape>const sunsetHeroGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF7F1D1D), Color(0xFFB91C1C), Color(0xFFF97316)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: sunsetHeroGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#7F1D1D', '#B91C1C', '#F97316']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="sunset-hero" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#7F1D1D" />
<stop offset="50%" stop-color="#B91C1C" />
<stop offset="100%" stop-color="#F97316" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#sunset-hero)" />
</svg>:root {
--sunset-hero-1: #7F1D1D;
--sunset-hero-2: #B91C1C;
--sunset-hero-3: #F97316;
--sunset-hero-angle: 135deg;
--sunset-hero: linear-gradient(var(--sunset-hero-angle), var(--sunset-hero-1), var(--sunset-hero-2), var(--sunset-hero-3));
}
.hero {
background: var(--sunset-hero);
}$sunset-hero-1: #7F1D1D;
$sunset-hero-2: #B91C1C;
$sunset-hero-3: #F97316;
$sunset-hero: linear-gradient(135deg, $sunset-hero-1, $sunset-hero-2, $sunset-hero-3);
@mixin sunset-hero-bg {
background: $sunset-hero-1;
background: $sunset-hero;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #7F1D1D | rgb(127, 29, 29) | hsl(0, 63%, 31%) |
| 2 | Red | #B91C1C | rgb(185, 28, 28) | hsl(0, 74%, 42%) |
| 3 | Orange | #F97316 | rgb(249, 115, 22) | hsl(25, 95%, 53%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Sunset Hero gradient uses 3 colours: #7F1D1D, #B91C1C and #F97316, at an angle of 135°.
Paste background: linear-gradient(135deg, #7F1D1D, #B91C1C, #F97316); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
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.