Candy Gradient
CSS
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);Open in Gradient Maker →
Other formats
CSS custom property
--gradient-candy: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
Tailwind arbitrary value
bg-[linear-gradient(135deg,_#f093fb_0%,_#f5576c_100%)]
Same colours, other shapes
The same stops passed through the other gradient functions — copy whichever suits the surface.
Reversed direction
background: linear-gradient(315deg, #f093fb 0%, #f5576c 100%);Radial
background: radial-gradient(circle, #f093fb 0%, #f5576c 100%);Conic
background: conic-gradient(from 135deg, #f093fb 0%, #f5576c 100%);Text on this gradient
Aa
2.04:1
Aa
5.81:1
Measured against every stop, near-black text holds a worst-case contrast of 5.81:1 on this gradient. Passes WCAG AA for body text (4.5:1).
Color stops
About this gradient
Candy is a ready-to-use CSS gradient with 2 color stops. Copy the CSS below, open it in the Gradient Maker to tweak the angle and stops, or click any stop color for its full breakdown.
More gradients