← All gradients
35%How it works
Seasonal

Halloween Midnight Bats

#03071E
#370617
#6A040F
Text readability
Seasonal WarmDark

Halloween Midnight Bats is a warm and dark 3-colour linear gradient that runs from near-black (#03071E) through deep pink (#370617) to deep red (#6A040F) at 160°. It suits hero sections and call-to-action buttons and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 17.5:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(160deg, #03071E, #370617, #6A040F);
Tailwind
bg-[linear-gradient(160deg,#03071E,#370617,#6A040F)]
Figma token
{
    "halloween-midnight-bats": {
        "value": "linear-gradient(160deg, #03071E 0%, #370617 50%, #6A040F 100%)",
        "type": "color"
    }
}

Halloween Midnight Bats gradient for SwiftUI, Flutter, Android and more

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

let halloweenMidnightBatsGradient = LinearGradient(
    colors: [
        Color(red: 0.012, green: 0.027, blue: 0.118),
        Color(red: 0.216, green: 0.024, blue: 0.09),
        Color(red: 0.416, green: 0.016, blue: 0.059)
    ],
    startPoint: UnitPoint(x: 0.318, y: 0),
    endPoint: UnitPoint(x: 0.682, y: 1)
)

// Usage
Rectangle().fill(halloweenMidnightBatsGradient)

Colours in the Halloween Midnight Bats gradient

StopNameHEXRGBHSL
1Near-black#03071Ergb(3, 7, 30)hsl(231, 82%, 6%)
2Deep pink#370617rgb(55, 6, 23)hsl(339, 80%, 12%)
3Deep red#6A040Frgb(106, 4, 15)hsl(354, 93%, 22%)

Halloween Midnight Bats gradient in use

Build something beautifulA hero section on the Halloween Midnight Bats gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Halloween Midnight Bats 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 Halloween Midnight Bats gradient?

The Halloween Midnight Bats gradient uses 3 colours: #03071E, #370617 and #6A040F, at an angle of 160°.

How do I use the Halloween Midnight Bats gradient in CSS?

Paste background: linear-gradient(160deg, #03071E, #370617, #6A040F); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Halloween Midnight Bats gradient?

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