Color Palette Generator
Generate 11-step Tailwind color shade scales (50 to 950) with WCAG contrast badges and color harmonies.
Runs in your browser. Nothing you add is uploaded.
What the Color Palette Generator does
Creating a unified design system requires a comprehensive scale of color tints and shades from subtle backgrounds (50) to deep text accents (950). This generator calculates a complete 11-step Tailwind CSS shade scale from any base color, computes real-time WCAG 2.1 accessibility contrast scores, generates harmonious palettes, and exports ready-to-use config snippets.
How to generate Tailwind color palettes
- Pick a base brand color using the color picker, type a HEX code, or click Random Color.
- View the 11-step shade palette (50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950).
- Inspect the WCAG accessibility contrast score badges displayed on each shade card.
- Explore harmonious color pairings: Complementary, Analogous, and Triadic.
- Copy individual shade HEX codes or export the full tailwind.config.js / CSS Custom Properties snippet.
The Color Palette Generator runs entirely in your browser — nothing you enter is uploaded, stored, or logged.
When to use it
Building New Tailwind CSS Design Systems
Generate matching primary, secondary, and neutral color scales that seamlessly integrate with Tailwind's default naming convention.
Auditing UI Accessibility & WCAG Contrast
Verify that body text and buttons meet strict WCAG AA (4.5:1) and AAA (7:1) contrast requirements before launching.
Harmonious Brand Color Selection
Find mathematically balanced complementary and analogous accent colors to pair with primary brand logos.
Good to know
- Shade 500 is typically used for primary buttons, 50-100 for subtle card backgrounds, and 700-900 for high-contrast text.
- Click any shade card to copy its exact HEX code directly to your clipboard.
- Ensure button text uses the recommended high-contrast text color indicated on the shade swatch.
Frequently asked questions
What is the standard WCAG contrast ratio for text?
How do I add these shades to Tailwind CSS?
How does the generator calculate shades 50 through 950?
What does a 4.5:1 contrast ratio signify?
Related tools
Regex Builder
Build a regular expression from blocks, with live matches.
SQL Formatter
Format, beautify, and minify SQL queries for Postgres, MySQL, and SQLite.
JSON to YAML Converter
Convert bidirectional JSON to YAML and YAML to JSON with presets.
Chmod Permissions Calculator
Interactive 3x3 Linux permissions matrix, octal sync, and command generator.