Random Color Generator
Palettes, not one swatch: design tokens, data-viz series, and theme experiments need a set of colours plus contrast context. This page generates a handful of colours with HEX, RGB, HSL, and a contrast hint so you can see whether body text would fail. It is not a WCAG certificate.
What the random colour generator is for
Designers gravitate to the same palettes without noticing. Random colours interrupt that and surface combinations you would not have chosen deliberately.
Seeing HEX, RGB, and HSL together also removes the need to convert between formats by hand.
Common uses
- Finding an unexpected starting point for a palette
- Assigning distinct colours to chart series or categories
- Getting placeholder colours for a prototype
What the output means in the real world
Copy the palette into a Figma style or a CSS variables file and name the tokens before you scatter hex values. Recheck contrast with a dedicated WCAG tool before you ship small text. Brand colours still come from a guide, not from a shuffle. Regenerate if two series colours are indistinguishable.
How this fits into real work
WCAG 2 contrast is a ratio against a background. A generated 'nice' pair can still fail 4.5:1. Use the hint as a warning, then measure.
Colour-blind users lose a chart that encodes only hue. Pair colour with a pattern or label. The generator will not do that for you.
The single-swatch colour tool is for one badge. Use this page when you need a set that will sit together on one dashboard.
How to use this tool
- Generate a set of colours.
- Click any swatch to copy its value.
- Copy the whole set if you are seeding a palette or theme file.
Tips
- Check contrast before using any colour behind text — 4.5:1 is the minimum for body copy.
- Random colours rarely harmonise on their own; adjust saturation and lightness to bring a set together.
Privacy & how it works
Everything happens inside your browser. The values you type are held in page memory only, are never sent to a server, and disappear when you close the tab. You can confirm this in your browser's network tab: the only request a tool makes is one that names the tool for a usage count, with nothing you typed in it. The tools also work with the internet disconnected.
Frequently asked questions
- How do I make random colours look coherent?
- Keep saturation and lightness consistent across the set and vary only the hue. That is essentially how generated palettes with a unified feel are produced.
Browse other tools
All tools run entirely in your browser — nothing you type is sent to a server, except the optional HIBP 5-character hash prefix.