#FF512F
#DD2476
Bloody Mary is a warm and bold 2-colour linear gradient that runs from red (#FF512F) to pink (#DD2476) at 135°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 5.4:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #FF512F, #DD2476);
bg-gradient-to-br from-[#FF512F] to-[#DD2476]
{
"bloody-mary": {
"value": "linear-gradient(135deg, #FF512F 0%, #DD2476 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let bloodyMaryGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.318, blue: 0.184),
Color(red: 0.867, green: 0.141, blue: 0.463)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(bloodyMaryGradient)val bloodyMaryColors = listOf(Color(0xFFFF512F), Color(0xFFDD2476))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = bloodyMaryColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/bloody-mary_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FF512F"
android:endColor="#DD2476"
android:type="linear" />
</shape>const bloodyMaryGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFF512F), Color(0xFFDD2476)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: bloodyMaryGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FF512F', '#DD2476']}
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="bloody-mary" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FF512F" />
<stop offset="100%" stop-color="#DD2476" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#bloody-mary)" />
</svg>:root {
--bloody-mary-1: #FF512F;
--bloody-mary-2: #DD2476;
--bloody-mary-angle: 135deg;
--bloody-mary: linear-gradient(var(--bloody-mary-angle), var(--bloody-mary-1), var(--bloody-mary-2));
}
.hero {
background: var(--bloody-mary);
}$bloody-mary-1: #FF512F;
$bloody-mary-2: #DD2476;
$bloody-mary: linear-gradient(135deg, $bloody-mary-1, $bloody-mary-2);
@mixin bloody-mary-bg {
background: $bloody-mary-1;
background: $bloody-mary;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #FF512F | rgb(255, 81, 47) | hsl(10, 100%, 59%) |
| 2 | Pink | #DD2476 | rgb(221, 36, 118) | hsl(333, 73%, 50%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Bloody Mary gradient uses 2 colours: #FF512F and #DD2476, at an angle of 135°.
Paste background: linear-gradient(135deg, #FF512F, #DD2476); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 5.4:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.