← All gradients
35%How it works
Curated

Witching Hour

#C31432
#240B36
Text readability
Curated DarkBold

Witching Hour is a dark and bold 2-colour linear gradient that runs from red (#C31432) to deep purple (#240B36) at 135°. It suits dark-mode interfaces and footers and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 11.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #C31432, #240B36);
Tailwind
bg-gradient-to-br from-[#C31432] to-[#240B36]
Figma token
{
    "witching-hour": {
        "value": "linear-gradient(135deg, #C31432 0%, #240B36 100%)",
        "type": "color"
    }
}

Witching Hour gradient for SwiftUI, Flutter, Android and more

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

let witchingHourGradient = LinearGradient(
    colors: [
        Color(red: 0.765, green: 0.078, blue: 0.196),
        Color(red: 0.141, green: 0.043, blue: 0.212)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(witchingHourGradient)

Colours in the Witching Hour gradient

StopNameHEXRGBHSL
1Red#C31432rgb(195, 20, 50)hsl(350, 81%, 42%)
2Deep purple#240B36rgb(36, 11, 54)hsl(275, 66%, 13%)

Witching Hour gradient in use

Build something beautifulA hero section on the Witching Hour gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Witching Hour 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 Witching Hour gradient?

The Witching Hour gradient uses 2 colours: #C31432 and #240B36, at an angle of 135°.

How do I use the Witching Hour gradient in CSS?

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

What text colour works on the Witching Hour gradient?

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