← All gradients
35%How it works
Curated

Celestial

#C33764
#1D2671
Text readability
Curated DarkBold

Celestial is a dark and bold 2-colour linear gradient that runs from pink (#C33764) to blue (#1D2671) 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 9.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →

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

Celestial gradient for SwiftUI, Flutter, Android and more

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

let celestialGradient = LinearGradient(
    colors: [
        Color(red: 0.765, green: 0.216, blue: 0.392),
        Color(red: 0.114, green: 0.149, blue: 0.443)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(celestialGradient)

Colours in the Celestial gradient

StopNameHEXRGBHSL
1Pink#C33764rgb(195, 55, 100)hsl(341, 56%, 49%)
2Blue#1D2671rgb(29, 38, 113)hsl(234, 59%, 28%)

Celestial gradient in use

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

Celestial 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 Celestial gradient?

The Celestial gradient uses 2 colours: #C33764 and #1D2671, at an angle of 135°.

How do I use the Celestial gradient in CSS?

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

What text colour works on the Celestial gradient?

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