Pastel CSS color scheme

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

pastel css color scheme UI preview
pastel css color scheme UI preview

Color palette

#f1fcf8
Background 1
background
#f9fefc
Surface 1
surface
#111827
Text Primary 1
text-primary
#767f85
Text Secondary 1
text-secondary
#a4ebd1
Primary 1
primary
#b1cdfb
Secondary 1
secondary
#b1cdfb
Accent 1
accent

Pastel CSS color scheme explained

The pastel css color scheme pairs #a4ebd1 as its primary hue with #b1cdfb as the accent. The palette is balanced for pastel aesthetics while keeping text readable against the surface color.

Every swatch is derived from the same two anchor colors, so the css color scheme 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 #a4ebd1 → #b1cdfb gradient applied to a phone screen, a primary button, and a wave pattern so you can see how the pastel look plays out in a real interface.

Export code

/* CSS Custom Properties */
:root {
  --background: #f1fcf8;
  --surface: #f9fefc;
  --text-primary: #111827;
  --text-secondary: #767f85;
  --primary: #a4ebd1;
  --secondary: #b1cdfb;
  --accent: #b1cdfb;
}

/* Tailwind CSS config (extend.colors) */
module.exports = {
  theme: {
    extend: {
      colors: {
        'background': '#f1fcf8',
        'surface': '#f9fefc',
        'text-primary': '#111827',
        'text-secondary': '#767f85',
        'primary': '#a4ebd1',
        'secondary': '#b1cdfb',
        'accent': '#b1cdfb',
      }
    }
  }
};

Related css color schemes