← All gradients
35%How it works
Marvel ↗

Marvel Gradient

#EC1D24
#7A0C10
Text readability
Brand Warm Media

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

CSS
background: linear-gradient(135deg, #EC1D24, #7A0C10);
Tailwind
bg-gradient-to-br from-[#EC1D24] to-[#7A0C10]
Figma token
{
    "marvel": {
        "value": "linear-gradient(135deg, #EC1D24 0%, #7A0C10 100%)",
        "type": "color"
    }
}

Marvel Gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Marvel Gradient

StopNameHEXRGBHSL
1Red#EC1D24rgb(236, 29, 36)hsl(358, 84%, 52%)
2Deep red#7A0C10rgb(122, 12, 16)hsl(358, 82%, 26%)

Marvel Gradient in use

Build something beautifulA hero section on the Marvel GradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Marvel Gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Marvel Gradient?

The Marvel Gradient uses 2 colours: #EC1D24 and #7A0C10, at an angle of 135°.

How do I use the Marvel Gradient in CSS?

Paste background: linear-gradient(135deg, #EC1D24, #7A0C10); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Marvel Gradient?

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.