Swift Gradient is a warm and bold 2-colour linear gradient that runs from light orange (#FFAC45) to red (#F05138) at 135°. It is inspired by Swift’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 8.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by Swift’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Swift. Swift is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Swift’s. Terms
background: linear-gradient(135deg, #FFAC45, #F05138);
bg-gradient-to-br from-[#FFAC45] to-[#F05138]
{
"swift": {
"value": "linear-gradient(135deg, #FFAC45 0%, #F05138 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let swiftGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.675, blue: 0.271),
Color(red: 0.941, green: 0.318, blue: 0.22)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(swiftGradient)val swiftColors = listOf(Color(0xFFFFAC45), Color(0xFFF05138))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = swiftColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/swift_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FFAC45"
android:endColor="#F05138"
android:type="linear" />
</shape>const swiftGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFFAC45), Color(0xFFF05138)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: swiftGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FFAC45', '#F05138']}
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="swift" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FFAC45" />
<stop offset="100%" stop-color="#F05138" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#swift)" />
</svg>:root {
--swift-1: #FFAC45;
--swift-2: #F05138;
--swift-angle: 135deg;
--swift: linear-gradient(var(--swift-angle), var(--swift-1), var(--swift-2));
}
.hero {
background: var(--swift);
}$swift-1: #FFAC45;
$swift-2: #F05138;
$swift: linear-gradient(135deg, $swift-1, $swift-2);
@mixin swift-bg {
background: $swift-1;
background: $swift;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light orange | #FFAC45 | rgb(255, 172, 69) | hsl(33, 100%, 64%) |
| 2 | Red | #F05138 | rgb(240, 81, 56) | hsl(8, 86%, 58%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Swift Gradient uses 2 colours: #FFAC45 and #F05138, at an angle of 135°.
Paste background: linear-gradient(135deg, #FFAC45, #F05138); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 8.1:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.