Marvel Gradient is a warm 2-colour linear gradient that runs from red (#EC1D24) to deep red (#7A0C10) at 135°. It is inspired by Marvel’s brand colours, a reference point for media interfaces. White text reads best on it, at a contrast ratio of 6.9:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by Marvel’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Marvel. Marvel 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 Marvel’s. Terms
background: linear-gradient(135deg, #EC1D24, #7A0C10);
bg-gradient-to-br from-[#EC1D24] to-[#7A0C10]
{
"marvel": {
"value": "linear-gradient(135deg, #EC1D24 0%, #7A0C10 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let marvelGradient = LinearGradient(
colors: [
Color(red: 0.925, green: 0.114, blue: 0.141),
Color(red: 0.478, green: 0.047, blue: 0.063)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(marvelGradient)val marvelColors = listOf(Color(0xFFEC1D24), Color(0xFF7A0C10))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = marvelColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/marvel_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#EC1D24"
android:endColor="#7A0C10"
android:type="linear" />
</shape>const marvelGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFEC1D24), Color(0xFF7A0C10)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: marvelGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#EC1D24', '#7A0C10']}
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="marvel" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#EC1D24" />
<stop offset="100%" stop-color="#7A0C10" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#marvel)" />
</svg>:root {
--marvel-1: #EC1D24;
--marvel-2: #7A0C10;
--marvel-angle: 135deg;
--marvel: linear-gradient(var(--marvel-angle), var(--marvel-1), var(--marvel-2));
}
.hero {
background: var(--marvel);
}$marvel-1: #EC1D24;
$marvel-2: #7A0C10;
$marvel: linear-gradient(135deg, $marvel-1, $marvel-2);
@mixin marvel-bg {
background: $marvel-1;
background: $marvel;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #EC1D24 | rgb(236, 29, 36) | hsl(358, 84%, 52%) |
| 2 | Deep red | #7A0C10 | rgb(122, 12, 16) | hsl(358, 82%, 26%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Marvel Gradient uses 2 colours: #EC1D24 and #7A0C10, at an angle of 135°.
Paste background: linear-gradient(135deg, #EC1D24, #7A0C10); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 6.9:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.