How to use Color palette & contrast checker
- 1
Start from a color
Type or pick a base color, then choose a harmony such as analogous, triadic or split complementary — or shuffle a random palette.
- 2
Lock and refine
Lock the swatches you like before shuffling again, edit any swatch directly, or pull the five dominant colors out of a photo.
- 3
Check readability
Open Contrast to test text on background against WCAG 2.2 AA and AAA, apply a suggested fix, and preview the palette for color blindness.
- 4
Export
Copy CSS variables, a Tailwind v4 theme or v3 config, SCSS or JSON with 50–950 shades, or download a PNG swatch.
Limits and Pro
Everything is free: palettes of 5 colors, 6 harmonies, unlimited shuffles and exports, images up to 50 MB for color extraction, PNG swatch 1600 pixels wide.
About Color palette & contrast checker
Color palette generator builds a five-color scheme and everything a design system needs around it. Harmonies rotate the base hue on the HSL color wheel: analogous steps 30° either side, complementary adds the hue opposite, split complementary takes the two hues beside the opposite, triadic spaces three hues 120° apart, tetradic uses a 90° square, and monochrome keeps one hue at five lightness levels. Random mode respects locked swatches, and the image option clusters the pixels of a photo in OKLab to find its five most common distinct colors.
For each color the Shades tab produces an 11-step 50–950 ladder in OKLCH, where the step nearest your color is the exact value, or the 13 tones of the Material 3 HCT system together with the five key palettes a Material theme would derive. The contrast checker uses the WCAG 2.2 luminance formula, never rounds a ratio up, and suggests the closest passing color by changing only lightness, keeping the hue. A grid shows the ratio of every pair in the palette against white and black.
Simulations cover protanopia, deuteranopia, tritanopia and achromatopsia with the Machado matrices, and flag swatches that collapse into one another. Exports name colors by hue and accept your own names. The tool does not judge whether colors suit a brand, and simulations approximate how people with color-vision deficiency see; they are not a substitute for testing with them.
Privacy
All color math, contrast checks and image analysis run in this tab: a photo you use for colors is read from your disk into a small canvas and never uploaded. The palette can be stored in the page address so a copied link reopens it; nothing is saved on a server.
Features
Six harmonies and image colors
Analogous to tetradic from one base color, random shuffles with locks, or the dominant colors of a photo.
WCAG 2.2 contrast with fixes
AA and AAA for normal and large text plus UI graphics, with the nearest passing color one click away.
Developer-ready exports
CSS variables, Tailwind v4 and v3, SCSS and JSON in HEX, RGB, HSL or OKLCH, plus a PNG swatch.