Accessible color palette generator and contrast checker. Build a palette, then proof it:
text contrast (WCAG 2 and APCA), color blindness simulation, one-click lightness fixes,
color conversions and export. No backend: the palette lives in the URL fragment
(/#d5ac85-f5e9d9-132c29), saved palettes in localStorage.
Try it: https://hueproof.codebrauer.com/ (English and German) · Latest release and changes
- Palette of 2–10 colors: pick, name, lock, reorder by drag, generate the unlocked ones (Space). A link without a palette starts with random colors
- Every change is a browser history entry: undo with the back button or ⌘Z, share by copying the URL.
The palette sits after the
#, so it is never sent to a server; older?c=links still open - Contrast cards and matrix (WCAG 2 or APCA), with fix suggestions for pairs that narrowly miss a level
- Color vision: seven simulated deficiencies with how common each group is, pairwise ΔE, largest set without a confusable pair
- Warm/cool balance; preview as business card, presentation slide and pattern with role assignment
- Per color: HEX, RGB, HSL, HWB, CMYK, LAB, LCH, LUV, XYZ, OKLCH; shades, tints, tones, harmonies; sourced notes on meaning
- Import from pasted text (hex codes separated by commas, spaces or lines, CSS,
name: #hex, Coolors links) - Colors from an image: choose a file, drop or paste it, or take a photo on a phone. Start from its dominant colors, numbered on the image where they come from. Drag a marker to change its color, pick more from a point on the image, take out the ones you don't want, and use them as the palette (mouse, touch or arrow keys); a picked color can also go straight into the current palette. The image stays in the browser, which also decides the formats: JPEG, PNG, GIF, WebP and AVIF everywhere, HEIC only in Safari
- English (
/) and German (/de/), each prerendered, withhreflanglinks; switching keeps the palette. A first visit to/moves on to/de/when the browser prefers German; a language picked with the switch wins - Export: CSS variables, SCSS, Tailwind v4 theme, JSON, W3C design tokens, SVG, PNG. The design tokens file imports into Figma as variables: create a new collection in the Variables view and drag the file into it. Figma documents this for the Professional, Education, Organization, Government and Enterprise plans (Figma help)
hueproof-mcp is an MCP server with the same checks, so an agent such as
Claude Code, Codex or Cursor can proof colors while it designs: text contrast, color vision deficiencies and the
smallest fixes, plus a link that opens the palette in Hueproof. It runs on your machine and makes no network
requests.
claude mcp add --scope user hueproof -- npx -y hueproof-mcpSetup for other clients, the tools, prompts and example prompts are in mcp/README.md.
Checked on 21 November 2026 by using each tool in the browser without an account; Coolors' plans are taken from its pricing page. Tools change: if a cell is wrong or out of date, please open an issue.
✅ yes · ❌ no, or not found · 💎 paid plan only · 🔑 needs an account · ➖ partly
| Hueproof | Coolors | Adobe Color | Realtime Colors | Paletton | |
|---|---|---|---|---|---|
| Price | Free | Free, Pro €3 a month | Free | Free | Free |
| Without ads | ✅ | 💎 | ✅ | ✅ | ❌ |
| Open source | ✅ AGPL-3.0 | ❌ | ❌ | ❌ | ❌ |
| Colors per palette | 2–10 | 5, 10 with 💎 ¹ | 5 | 5 roles | 1–4 hues × 5 shades |
| Colors from an image | ✅ dominant colors or single points, the image stays in the browser | ✅ | ✅ | ➖ an eyedropper picks one color from the screen | ❌ |
| Palette in the link | ✅ after the #, never sent to a server |
✅ | ❌ | ✅ | ✅ |
| Save palettes | ✅ in the browser, unlimited | 🔑 10, unlimited with 💎 | 🔑 | ❌ | ❌ |
| WCAG 2 contrast of all pairs | ✅ | 💎, a checker for two colors is free | ✅ | ➖ each color on the background | ✅ |
| APCA contrast | ✅ | ❌ | ❌ | ❌ | ❌ |
| Suggestions to fix a failing pair | ✅ | ✅ in the two-color checker | ✅ | ❌ | ❌ |
| Color vision simulation | ✅ 7 types, with how common each is | ✅ 4 types | ✅ 3 types | ❌ | ✅ 8 types |
| Warns about colors that look alike | ✅ per pair (CIEDE2000) | ❌ | ✅ | ❌ | ❌ |
| Preview on designs | ✅ business card, slide, pattern | ➖ some layouts, all with 💎 | ✅ one sample page | ✅ a website | ✅ examples |
| Export | CSS, SCSS, Tailwind v4, JSON, W3C design tokens, SVG, PNG | PDF, image, CSS, ASE, SVG, code, Tailwind; advanced options 💎 | ASE, JPEG | CSS, SCSS, Tailwind, framework themes, PNG | HTML, CSS, LESS, XML, text, PNG, ACO, GPL |
¹ The pricing page lists 5 colors for Free and 10 for Pro; when checked, the generator also let a visitor without an account add more than 5.
Only with Coolors Pro: the contrast check of the whole palette, palette variations (shades, tints and more), all Visualizer layouts, no ads, more than 10 saved palettes, the AI features, advanced export options and a custom logo on PDF exports.
Hueproof has no library of community palettes, which Coolors and Adobe Color both offer; Coolors also has AI generation and plugins for design tools.
Node 24+ and pnpm.
pnpm install
pnpm dev| Command | Purpose |
|---|---|
pnpm dev |
Dev server on http://localhost:3000 |
pnpm test |
Unit tests for the color logic and the MCP server (Vitest) |
pnpm lint / pnpm typecheck |
ESLint / TypeScript |
pnpm build |
Static export to out/ |
pnpm --filter hueproof-mcp build |
Bundles the MCP server to mcp/dist/ (see docs/mcp.md) |
pnpm og-image |
Regenerates the app icon and the link preview image of each language from the default palette |
pnpm ship |
Checks, builds and copies the site to the web server (see Deployment) |
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_SITE_URL |
Public address of the site without a trailing slash. Used for the absolute Open Graph image link, canonical and hreflang links, robots.txt and the sitemap. Its path, if any, becomes Next's basePath (https://example.com/hueproof → /hueproof). Defaults to http://localhost:3000. |
| DEPLOY_HOST, DEPLOY_PATH | Only for pnpm ship: the SSH target (user@host) and the directory on it that out/ is copied to. No defaults. |
Copy .env.example to .env.local for local builds and deploys; .env.local is not committed.
Live at https://hueproof.codebrauer.com/.
pnpm shipscripts/deploy.sh runs lint, typecheck and tests, builds with
NEXT_PUBLIC_SITE_URL=https://hueproof.codebrauer.com (override with SITE_URL), copies out/ with
rsync --delete over SSH to DEPLOY_HOST:DEPLOY_PATH and checks that both languages answer. Needs SSH access
to that host with your own key.
pnpm build writes a fully static site to out/, so any other static host works too. To serve it at
the root of a domain, set NEXT_PUBLIC_SITE_URL without a path. .github/workflows/ci.yml runs the
checks and a build on every push; it does not deploy. Dependabot opens weekly update PRs; minor and patch
updates merge on their own once CI passes, major updates wait for a review.
Because the site is static, the link preview image is the same for every shared palette (one per language).
All interface texts live in src/i18n/en.tsx and src/i18n/de.tsx. The German dictionary is typed against the
English one, so a missing or misspelled key fails pnpm typecheck. Texts with variable parts are functions, so
each language can order and inflect a sentence as it needs.
To add a language: add it to LOCALES and LOCALE_PATHS in src/i18n/locales.ts, add a dictionary, a route
group with its own layout and page under src/app/ (see (de)), translations in src/data/color-meaning.json,
and a tagline in src/lib/site.ts (then run pnpm og-image).
Suggested color names and hex words (a code like #C0FFEE that spells "coffee") come from English lists and are not translated.
Paper and ink: the interface has no hue of its own, so it never tints the colors being judged. A white page on a four-column grid, without boxes or shadows; hairline rules between rows, tabs and settings as words, small consistent corner radii. The one accent, the dot after the wordmark and the selected tab, takes its color from the palette. Two typefaces: Cal Sans for headlines and Fira Sans for everything else. The logo is the name in the toolbar, its letters in the current palette's hues and readable at 4.5:1 in both themes; on small screens and as the icon it is a ring of the palette's colors with a check mark. The rules are in docs/design.md.
| File | Content |
|---|---|
| docs/architecture.md | Static export, routes, where state lives, the palette store |
| docs/color-logic.md | What each color module calculates, and which numbers are standards or heuristics |
| docs/design.md | Design rules, type, tokens, building blocks |
| docs/recipes.md | How to add a text, an export format, an analysis tab, a source |
| docs/mcp.md | How the MCP server is built, tested and released |
| AGENTS.md | Working rules for coding agents |
src/app/ One route group per language, each with its own root layout
src/i18n/ Dictionaries and locale helpers
src/lib/color/ Color logic without UI: contrast, vision simulation, fixes, formats, URL
src/lib/ Palette store (URL + history), import, export, storage
src/components/ UI; analysis/ holds the four analysis tabs, dialogs/ the import, export and library dialogs
src/data/ Sourced statements for the "Meaning" tab (both languages); the hex word list
mcp/ MCP server for AI agents (npm package hueproof-mcp), built on src/lib/color/
scripts/ Open Graph image and hex word list generators
docs/ Short documents on architecture, color logic, design and common changes
- Contrast: WCAG 2.2, SC 1.4.3; APCA via
apca-w3 - Color vision simulation: Machado, Oliveira & Fernandes (2009), https://doi.org/10.1109/TVCG.2009.113, via
culori - Color difference: CIEDE2000, https://doi.org/10.1002/col.20070. The thresholds for "hard to tell apart" (10) and "close" (20) are heuristics.
- Warm/cool: based on the colour-heat model of Ou et al. (2004), https://doi.org/10.1002/col.20010, without its constant offset
- How common color vision deficiencies are: MedlinePlus Genetics (NIH), Birch (2012), https://doi.org/10.1364/JOSAA.29.000313; with age: Schneck et al. (2014), https://doi.org/10.1097/OPX.0000000000000152
- Dominant colors of an image: modified median cut (MMCQ) in OKLCH, via
colorthief(MIT) - Color names:
color-name-list(MIT) - Hex words: melted/hexwords (ISC), see
src/data/hex-words.ts - Meaning tab (
src/data/color-meaning.json): every statement cites a peer-reviewed publication or an official text. All DOIs were checked against Crossref; findings that failed to replicate are either left out or shown with that caveat.
Hueproof is licensed under the GNU Affero General Public License v3.0 or later.
The APCA contrast math comes from the apca-w3 package, which has its own
license: it may be used only to check the contrast of web content, and not commercially without a separate
agreement. This project's license grants no rights to apca-w3.