Winter Cranberry gradient

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

Two-toneYellowPurple

Stops

HEXRGBOKLCHPosition
#D49400 rgb(212, 148, 0) oklch(71.1% 0.148 77.9) 0%
#1E0240 rgb(30, 2, 64) oklch(20.4% 0.106 296.4) 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(180deg, #D49400, #1E0240);
background: linear-gradient(180deg in oklch, #D49400, #1E0240);

Tailwind CSS v4

bg-linear-180/oklch from-[#D49400] to-[#1E0240]

Make it your own

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