Minimalist gradient generator for Tailwind CSS

Create a minimalist gradient generator built for Tailwind CSS. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.

minimalist gradient generator for tailwind css UI preview
minimalist gradient generator for tailwind css UI preview

Color palette

#e1e3e5
Background 1
background
#f2f2f3
Surface 1
surface
#111827
Text Primary 1
text-primary
#6f737d
Text Secondary 1
text-secondary
#374151
Primary 1
primary
#9CA3AF
Secondary 1
secondary
#2c3441
Accent 1
accent

Minimalist gradient generator for Tailwind CSS explained

The minimalist gradient generator for tailwind css pairs #374151 as its primary hue with #2c3441 as the accent. The palette is balanced for minimalist aesthetics while keeping text readable against the surface color.

Every swatch is derived from the same two anchor colors, so the gradient generator stays harmonious across backgrounds, borders, buttons, and hover states. Copy the CSS below or open it in Tailwind CSS and apply it immediately.

Use the preview image as a starting point for your own mockups. It shows the exact #374151 → #9CA3AF gradient applied to a phone screen, a primary button, and a wave pattern so you can see how the minimalist look plays out in a real interface.

Export code

/* CSS Custom Properties */
:root {
  --background: #e1e3e5;
  --surface: #f2f2f3;
  --text-primary: #111827;
  --text-secondary: #6f737d;
  --primary: #374151;
  --secondary: #9CA3AF;
  --accent: #2c3441;
}

/* Tailwind CSS config (extend.colors) */
module.exports = {
  theme: {
    extend: {
      colors: {
        'background': '#e1e3e5',
        'surface': '#f2f2f3',
        'text-primary': '#111827',
        'text-secondary': '#6f737d',
        'primary': '#374151',
        'secondary': '#9CA3AF',
        'accent': '#2c3441',
      }
    }
  }
};

Related gradient generators