Color Palette Generator
Start from a seed color and produce a deterministic palette you can use in a design system. Each swatch is labelled with its HEX value, and a contrast checker reports WCAG AA results for text on each color.
Palettes use HSL hue and lightness rotation, not a perceptually uniform space. Contrast values use the WCAG relative-luminance formula and are reported for dark (#111827) and white text.
How it works
- Enter a HEX color or pick one with the native color picker.
- Choose a harmony mode and a palette size from 3 to 8 colors.
- Copy individual values, export all colors as CSS variables or JSON, and review contrast results for white and dark text.
Supported input and limits
| Input | Seed color, Palette mode, Count |
|---|---|
| Output | HEX swatches, CSS variables, JSON |
| Size limit | Not applicable |
| Offline | Verified after the page and its script are cached |
- Palette sizes range from 3 to 8 colors.
- Uses HSL rotations, not OKLCH perceptual spacing.
- Alpha colors are not supported in this version.
Privacy
This tool runs entirely in your browser. Your input is processed in memory and is not uploaded, logged or stored by TinkerFern. There is no account, no server-side processing and no analytics payload containing your content.
Client-side processing reduces data transfer, but it does not protect against bugs in your browser or in a file you choose to open. Keep backups of important files.
Frequently asked questions
Are the palettes perceptually uniform?
No claim of perceptual uniformity is made. Palettes are generated with HSL hue and lightness rotations, which are predictable and reproducible but not perceptually even like OKLCH.
How is the contrast ratio calculated?
The tool uses the WCAG relative luminance formula and the (L1 + 0.05) / (L2 + 0.05) ratio. Black on white reports 21:1, and AA thresholds are 4.5:1 for normal text and 3:1 for large text.
Does the same seed always produce the same palette?
Yes. Generation is deterministic for a given seed, mode and count, with no random values involved, so you can reproduce a palette later by entering the same inputs.
Related tools
Continue with a task that often follows this one.