This midnight to slate to slate linear 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 slate to slate linear CSS gradient

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

#140f19#9c8a60#9e7a92

Gradient guide

How to use this midnight to slate to slate gradient

This linear 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.66:1

WCAG AA friendly

Black text

4.33:1

Needs overlay

Pre-rendered CSS output

.css-gradient-pro-gradient {
  background: linear-gradient(135deg, #140f19 0%, #9c8a60 50%, #9e7a92 100%);
  background: linear-gradient(135deg, #140f19 0%, #16101b 4.5%, #1d1520 9.1%, #2a1d29 13.6%, #3d2833 18.2%, #54373d 22.7%, #6d4a45 27.3%, #815e4b 31.8%, #8f7052 36.4%, #977f59 40.9%, #9b875e 45.5%, #9c8a60 50%, #9d8960 54.5%, #a0885f 59.1%, #a5855f 63.6%, #aa8062 68.2%, #ae7c69 72.7%, #af7974 77.3%, #ab7880 81.8%, #a67889 86.4%, #a2798e 90.9%, #9f7a91 95.5%, #9e7a92 100%);
  background: linear-gradient(135deg in oklch, oklch(17.97% 0.0215 307.12) 0%, oklch(63.92% 0.0620 87.37) 50%, oklch(62.20% 0.0558 338.98) 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.