← All gradients
35%How it works
Formula 1 ↗

Formula 1 Gradient

#E10600
#15151E
Text readability
Brand WarmDark Sport

Formula 1 Gradient is a warm and dark 2-colour linear gradient that runs from red (#E10600) to near-black (#15151E) at 135°. It is inspired by Formula 1’s brand colours, a reference point for sport interfaces. White text reads best on it, at a contrast ratio of 11.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →

Unofficial reference: inspired by Formula 1’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Formula 1. Formula 1 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 Formula 1’s. Terms

CSS
background: linear-gradient(135deg, #E10600, #15151E);
Tailwind
bg-gradient-to-br from-[#E10600] to-[#15151E]
Figma token
{
    "formula-1": {
        "value": "linear-gradient(135deg, #E10600 0%, #15151E 100%)",
        "type": "color"
    }
}

Formula 1 Gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let formula1Gradient = LinearGradient(
    colors: [
        Color(red: 0.882, green: 0.024, blue: 0),
        Color(red: 0.082, green: 0.082, blue: 0.118)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(formula1Gradient)

Colours in the Formula 1 Gradient

StopNameHEXRGBHSL
1Red#E10600rgb(225, 6, 0)hsl(2, 100%, 44%)
2Near-black#15151Ergb(21, 21, 30)hsl(240, 18%, 10%)

Formula 1 Gradient in use

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

Formula 1 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 Formula 1 Gradient?

The Formula 1 Gradient uses 2 colours: #E10600 and #15151E, at an angle of 135°.

How do I use the Formula 1 Gradient in CSS?

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

What text colour works on the Formula 1 Gradient?

White text has the best contrast, at 11.0:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.