Dim Candyfloss gradient
A 3-color linear CSS gradient from #001A25 to #8B2B46, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #001A25 | rgb(0, 26, 37) | oklch(20.3% 0.04 228.3) | 0% |
| #41365A | rgb(65, 54, 90) | oklch(36.1% 0.062 297.3) | 50% |
| #8B2B46 | rgb(139, 43, 70) | oklch(44.2% 0.131 7.3) | 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(225deg, #001A25, #41365A, #8B2B46); background: linear-gradient(225deg in oklch, #001A25, #41365A, #8B2B46);
Tailwind CSS v4
bg-linear-225/oklch from-[#001A25] via-[#41365A] to-[#8B2B46]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Deep Blushlinear-gradient(200deg, #000F1D, #391358, #7D1C3A)
- Obsidian Guavalinear-gradient(45deg, #82524D, #601747, #150028)
- Shadow Amethystlinear-gradient(200deg, #5C4398, #4F044D, #1C0007)
- Obsidian Candyflosslinear-gradient(0deg, #120022, #855450)
- Inky Guavalinear-gradient(180deg, #5F5373, #572D5A, #2F001C)
- Shadow Taffylinear-gradient(225deg, #924800, #5E2032, #290834)
- Deep Orchidlinear-gradient(45deg, #5A2D3E, #2E0654, #00182A)
- Evening Fuchsialinear-gradient(315deg, #A148B0, #EA70C0, #FFC7D3)