Vivid Candyfloss gradient
A 2-color linear CSS gradient from #D04DAD to #5D0019, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #D04DAD | rgb(208, 77, 173) | oklch(62.7% 0.195 339.7) | 0% |
| #5D0019 | rgb(93, 0, 25) | oklch(30.4% 0.122 15.7) | 100% |
CSS
The first declaration is a plain sRGB gradient for every browser. The second interpolates in OKLCH, which keeps the middle as vivid as the ends.
background: linear-gradient(120deg, #D04DAD, #5D0019); background: linear-gradient(120deg in oklch, #D04DAD, #5D0019);
Tailwind CSS v4
bg-linear-120/oklch from-[#D04DAD] to-[#5D0019]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Glowing Guavalinear-gradient(0deg, #F68E2B, #B12990)
- Lit Bubblegumlinear-gradient(270deg, #57287C, #B61E73, #EE5B21)
- Noir Taffylinear-gradient(120deg, #8D3539, #180010)
- Glowing Garnetlinear-gradient(90deg, #E2552E, #6F0029)
- Vivid Flamingolinear-gradient(135deg, #5C3C84, #F17107)
- Fizzy Candyflosslinear-gradient(45deg, #B14CC1, #FEC356)
- Obsidian Candyflosslinear-gradient(0deg, #120022, #855450)
- Faded Cherrylinear-gradient(160deg, #D766A7, #FE8462, #EDC76E)