Obsidian Candyfloss gradient

A 2-color linear CSS gradient from #120022 to #855450, interpolated in OKLCH so the middle stays vivid.

DarkWarmTwo-toneRedPurple

Stops

HEXRGBOKLCHPosition
#120022 rgb(18, 0, 34) oklch(14.5% 0.075 305.7) 0%
#855450 rgb(133, 84, 80) oklch(50% 0.066 24.8) 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(0deg, #120022, #855450);
background: linear-gradient(0deg in oklch, #120022, #855450);

Tailwind CSS v4

bg-linear-0/oklch from-[#120022] to-[#855450]

Make it your own

Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.