This midnight to red to blue conic gradient is an editable CSS color system generated with OKLCH-aware perceptual interpolation, multi-stop fallback compilation, and Tailwind CSS utility export. It preserves chroma during transitions, reducing muddy gray midpoints while giving developers production-ready CSS and designers precise visual control.

SEO gradient page

midnight to red to blue conic CSS gradient

Edit this gradient in the studio, copy production CSS, compare accessibility, and explore related color combinations generated from the same seed colors.

#16004e#e15a4c#6b6ffc

Gradient guide

How to use this midnight to red to blue gradient

This conic gradient can be used as a hero background, dashboard card treatment, app shell backdrop, social visual, or landing page accent. The color sequence is parsed directly from the URL, which means the page can be shared, indexed, and revisited.

The export system creates a standard CSS fallback, a perceptual multi-stop fallback, and a modern OKLCH declaration where appropriate. That makes the output useful for production interfaces, not just screenshots or static inspiration boards.

Use the related-gradient matrix below to explore adjacent hues, lightness shifts, and route variations. Each link is generated deterministically so search crawlers and users always see stable, crawlable internal links.

Interactive editor

Edit this gradient

Physics Preview Workspace

Perceptual CSS gradients without muddy midpoints.

Build layered linear, radial, conic, and mesh gradients using OKLCH, LAB, HCL, easing curves, blend modes, and fallback compilers.

White text

8.65:1

WCAG AA friendly

Black text

4.07:1

Needs overlay

Pre-rendered CSS output

.css-gradient-pro-gradient {
  background: conic-gradient(from 0deg at 50% 50%, #16004e 0%, #e15a4c 50%, #6b6ffc 100%);
  background: conic-gradient(from 0deg at 50% 50%, #16004e 0%, #190150 4.5%, #220257 9.1%, #330761 13.6%, #4d0e6b 18.2%, #6e1770 22.7%, #91226e 27.3%, #b13167 31.8%, #c8415d 36.4%, #d74e54 40.9%, #df574e 45.5%, #e15a4c 50%, #e15950 54.5%, #e3555b 59.1%, #e34f6e 63.6%, #df4a8a 68.2%, #d44bab 72.7%, #c151cb 77.3%, #a95ae4 81.8%, #9162f3 86.4%, #7d69f9 90.9%, #706efc 95.5%, #6b6ffc 100%);
  background: conic-gradient(from 0deg at 50% 50% in oklch, oklch(20.95% 0.1250 281.91) 0%, oklch(63.99% 0.1714 28.67) 50%, oklch(61.45% 0.2055 277.26) 100%);
  background-blend-mode: normal;
}

Full-width inspiration gallery

120 mathematically tuned gradient collections.

Each preset links to an indexable dynamic route with deterministic related gradients, metadata, crawlable anchors, and editable OKLCH controls.