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