← All gradients
35%How it works
Curated

Velvet Sun

#FFE53B
#FF2525
Text readability
Curated WarmBold

Velvet Sun is a warm and bold 2-colour linear gradient that runs from yellow (#FFE53B) to red (#FF2525) at 135°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 8.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #FFE53B, #FF2525);
Tailwind
bg-gradient-to-br from-[#FFE53B] to-[#FF2525]
Figma token
{
    "velvet-sun": {
        "value": "linear-gradient(135deg, #FFE53B 0%, #FF2525 100%)",
        "type": "color"
    }
}

Velvet Sun gradient for SwiftUI, Flutter, Android and more

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

let velvetSunGradient = LinearGradient(
    colors: [
        Color(red: 1, green: 0.898, blue: 0.231),
        Color(red: 1, green: 0.145, blue: 0.145)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(velvetSunGradient)

Colours in the Velvet Sun gradient

StopNameHEXRGBHSL
1Yellow#FFE53Brgb(255, 229, 59)hsl(52, 100%, 62%)
2Red#FF2525rgb(255, 37, 37)hsl(0, 100%, 57%)

Velvet Sun gradient in use

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

Velvet Sun 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 Velvet Sun gradient?

The Velvet Sun gradient uses 2 colours: #FFE53B and #FF2525, at an angle of 135°.

How do I use the Velvet Sun gradient in CSS?

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

What text colour works on the Velvet Sun gradient?

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