Rive Gradient is a warm and bold 2-colour linear gradient that runs from light red (#FF4F4F) to pink (#CA0447) at 135°. It is inspired by Rive’s brand colours, a reference point for tech interfaces. Black 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 Rive’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Rive. Rive 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 Rive’s. Terms
background: linear-gradient(135deg, #FF4F4F, #CA0447);
bg-gradient-to-br from-[#FF4F4F] to-[#CA0447]
{
"rive": {
"value": "linear-gradient(135deg, #FF4F4F 0%, #CA0447 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let riveGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.31, blue: 0.31),
Color(red: 0.792, green: 0.016, blue: 0.278)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(riveGradient)val riveColors = listOf(Color(0xFFFF4F4F), Color(0xFFCA0447))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = riveColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/rive_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FF4F4F"
android:endColor="#CA0447"
android:type="linear" />
</shape>const riveGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFF4F4F), Color(0xFFCA0447)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: riveGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FF4F4F', '#CA0447']}
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="rive" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FF4F4F" />
<stop offset="100%" stop-color="#CA0447" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#rive)" />
</svg>:root {
--rive-1: #FF4F4F;
--rive-2: #CA0447;
--rive-angle: 135deg;
--rive: linear-gradient(var(--rive-angle), var(--rive-1), var(--rive-2));
}
.hero {
background: var(--rive);
}$rive-1: #FF4F4F;
$rive-2: #CA0447;
$rive: linear-gradient(135deg, $rive-1, $rive-2);
@mixin rive-bg {
background: $rive-1;
background: $rive;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light red | #FF4F4F | rgb(255, 79, 79) | hsl(0, 100%, 65%) |
| 2 | Pink | #CA0447 | rgb(202, 4, 71) | hsl(340, 96%, 40%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Rive Gradient uses 2 colours: #FF4F4F and #CA0447, at an angle of 135°.
Paste background: linear-gradient(135deg, #FF4F4F, #CA0447); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black 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.