Pastel gradient generator for React
Create a pastel gradient generator built for React. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.
Color palette
Pastel gradient generator for React explained
The pastel gradient generator for react 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 gradient generator stays harmonious across backgrounds, borders, buttons, and hover states. Copy the CSS below or open it in React 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',
}
}
}
};