Baskin-Robbins Gradient is a warm 2-colour linear gradient that runs from pink (#FF1D8E) to blue (#0C1D82) at 135°. It is inspired by Baskin-Robbins’s brand colours, a reference point for food interfaces. White text reads best on it, at a contrast ratio of 8.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by Baskin-Robbins’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Baskin-Robbins. Baskin-Robbins 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 Baskin-Robbins’s. Terms
background: linear-gradient(135deg, #FF1D8E, #0C1D82);
bg-gradient-to-br from-[#FF1D8E] to-[#0C1D82]
{
"baskin-robbins": {
"value": "linear-gradient(135deg, #FF1D8E 0%, #0C1D82 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let baskinRobbinsGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.114, blue: 0.557),
Color(red: 0.047, green: 0.114, blue: 0.51)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(baskinRobbinsGradient)val baskinRobbinsColors = listOf(Color(0xFFFF1D8E), Color(0xFF0C1D82))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = baskinRobbinsColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/baskin-robbins_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FF1D8E"
android:endColor="#0C1D82"
android:type="linear" />
</shape>const baskinRobbinsGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFF1D8E), Color(0xFF0C1D82)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: baskinRobbinsGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FF1D8E', '#0C1D82']}
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="baskin-robbins" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FF1D8E" />
<stop offset="100%" stop-color="#0C1D82" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#baskin-robbins)" />
</svg>:root {
--baskin-robbins-1: #FF1D8E;
--baskin-robbins-2: #0C1D82;
--baskin-robbins-angle: 135deg;
--baskin-robbins: linear-gradient(var(--baskin-robbins-angle), var(--baskin-robbins-1), var(--baskin-robbins-2));
}
.hero {
background: var(--baskin-robbins);
}$baskin-robbins-1: #FF1D8E;
$baskin-robbins-2: #0C1D82;
$baskin-robbins: linear-gradient(135deg, $baskin-robbins-1, $baskin-robbins-2);
@mixin baskin-robbins-bg {
background: $baskin-robbins-1;
background: $baskin-robbins;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pink | #FF1D8E | rgb(255, 29, 142) | hsl(330, 100%, 56%) |
| 2 | Blue | #0C1D82 | rgb(12, 29, 130) | hsl(231, 83%, 28%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Baskin-Robbins Gradient uses 2 colours: #FF1D8E and #0C1D82, at an angle of 135°.
Paste background: linear-gradient(135deg, #FF1D8E, #0C1D82); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 8.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.