Sunset gradients
A sunset gradient captures the sky at the end of the day: golden yellow and orange near the horizon, melting into coral, pink and the purples and blues of dusk. Sunset gradients are warm, romantic and instantly recognizable, a favorite for travel, music, summer campaigns and social media graphics. Because they usually pass from very light golds to deeper pinks or purples, readability changes across the gradient, so the check under each gradient matters here. Lighter, golden-hour gradients need dark text, while dusk gradients that end in deep purple can carry white text. Each gradient shows its CSS and worst-case contrast. Open any of them in the gradient generator to adjust the colors.
6 sunset gradients with CSS code
- Golden Hour
Golden Hour
background: linear-gradient(180deg, #FFD6A5 0%, #FF9E7A 50%, #E76F51 100%);Black text passes AA, at worst 6.79:1.
- Dusk
Dusk
background: linear-gradient(180deg, #FF9E7A 0%, #B5548A 50%, #2C3654 100%);White text fails AA somewhere, at worst 2.01:1.
- Beach Sunset
Beach Sunset
background: linear-gradient(135deg, #FFB703 0%, #FB8500 50%, #E63946 100%);Black text passes AA, at worst 5.03:1.
- Pink Horizon
Pink Horizon
background: linear-gradient(160deg, #FFB347 0%, #FF6F7D 50%, #9D4EDD 100%);Black text passes AA, at worst 4.56:1.
- Late Glow
Late Glow
background: linear-gradient(180deg, #F2CC8F 0%, #E07A5F 50%, #3D405B 100%);Black text fails AA somewhere, at worst 2.08:1.
- Desert Evening
Desert Evening
background: linear-gradient(180deg, #E3AB57 0%, #C4622D 50%, #5C2E1F 100%);White text fails AA somewhere, at worst 2.05:1.