Glass Tailwind CSS palette

Create a glass tailwind css palette. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.

glass tailwind css palette UI preview
glass tailwind css palette UI preview

Color palette

#fdeaf4
Background 1
background
#fef6fa
Surface 1
surface
#111827
Text Primary 1
text-primary
#7b7783
Text Secondary 1
text-secondary
#F472B6
Primary 1
primary
#FBBF24
Secondary 1
secondary
#FBBF24
Accent 1
accent

Glass Tailwind CSS palette explained

The glass tailwind css palette pairs #F472B6 as its primary hue with #FBBF24 as the accent. The palette is balanced for glass aesthetics while keeping text readable against the surface color.

Every swatch is derived from the same two anchor colors, so the tailwind css palette stays harmonious across backgrounds, borders, buttons, and hover states. Copy the CSS below or open it in your favorite tool and apply it immediately.

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

Export code

/* CSS Custom Properties */
:root {
  --background: #fdeaf4;
  --surface: #fef6fa;
  --text-primary: #111827;
  --text-secondary: #7b7783;
  --primary: #F472B6;
  --secondary: #FBBF24;
  --accent: #FBBF24;
}

/* Tailwind CSS config (extend.colors) */
module.exports = {
  theme: {
    extend: {
      colors: {
        'background': '#fdeaf4',
        'surface': '#fef6fa',
        'text-primary': '#111827',
        'text-secondary': '#7b7783',
        'primary': '#F472B6',
        'secondary': '#FBBF24',
        'accent': '#FBBF24',
      }
    }
  }
};

Related tailwind css palettes