Fastly Gradient is a warm and bold 2-colour linear gradient that runs from red (#FF282D) to red (#C01A3E) at 135°. It is inspired by Fastly’s brand colours, a reference point for tech interfaces. White text reads best on it, at a contrast ratio of 4.7:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by Fastly’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Fastly. Fastly 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 Fastly’s. Terms
background: linear-gradient(135deg, #FF282D, #C01A3E);
bg-gradient-to-br from-[#FF282D] to-[#C01A3E]
{
"fastly": {
"value": "linear-gradient(135deg, #FF282D 0%, #C01A3E 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let fastlyGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.157, blue: 0.176),
Color(red: 0.753, green: 0.102, blue: 0.243)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(fastlyGradient)val fastlyColors = listOf(Color(0xFFFF282D), Color(0xFFC01A3E))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = fastlyColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/fastly_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FF282D"
android:endColor="#C01A3E"
android:type="linear" />
</shape>const fastlyGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFF282D), Color(0xFFC01A3E)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: fastlyGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FF282D', '#C01A3E']}
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="fastly" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FF282D" />
<stop offset="100%" stop-color="#C01A3E" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#fastly)" />
</svg>:root {
--fastly-1: #FF282D;
--fastly-2: #C01A3E;
--fastly-angle: 135deg;
--fastly: linear-gradient(var(--fastly-angle), var(--fastly-1), var(--fastly-2));
}
.hero {
background: var(--fastly);
}$fastly-1: #FF282D;
$fastly-2: #C01A3E;
$fastly: linear-gradient(135deg, $fastly-1, $fastly-2);
@mixin fastly-bg {
background: $fastly-1;
background: $fastly;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #FF282D | rgb(255, 40, 45) | hsl(359, 100%, 58%) |
| 2 | Red | #C01A3E | rgb(192, 26, 62) | hsl(347, 76%, 43%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Fastly Gradient uses 2 colours: #FF282D and #C01A3E, at an angle of 135°.
Paste background: linear-gradient(135deg, #FF282D, #C01A3E); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 4.7:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.