Midnight Rosewater gradient
A 2-color linear CSS gradient from #7B1C4A to #15002C, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #7B1C4A | rgb(123, 28, 74) | oklch(39.9% 0.136 355.8) | 0% |
| #15002C | rgb(21, 0, 44) | oklch(16.2% 0.086 300.5) | 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(90deg, #7B1C4A, #15002C); background: linear-gradient(90deg in oklch, #7B1C4A, #15002C);
Tailwind CSS v4
bg-linear-90/oklch from-[#7B1C4A] to-[#15002C]
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)
- Shadow Amethystlinear-gradient(200deg, #5C4398, #4F044D, #1C0007)
- Dim Candyflosslinear-gradient(225deg, #001A25, #41365A, #8B2B46)
- Obsidian Candyflosslinear-gradient(0deg, #120022, #855450)
- Inky Guavalinear-gradient(180deg, #5F5373, #572D5A, #2F001C)
- Deep Orchidlinear-gradient(45deg, #5A2D3E, #2E0654, #00182A)
- Easy Auberginelinear-gradient(135deg, #141344, #FF98C1)
- Noir Taffylinear-gradient(120deg, #8D3539, #180010)