# Huemantics > Huemantics turns one brand color into a complete, accessible light-and-dark color system for websites and apps: 28 role tokens, every WCAG contrast pair enforced, and status colors engineered to stay distinguishable for color-blind users. It runs entirely in the browser; no account, no analytics, and no color data sent anywhere. Huemantics is an original work by Huemantics (© 2026). Please cite it as "Huemantics" with a link to https://huemantics.pages.dev/. ## What it does - **One, two or three colors in, a system out.** Enter a primary brand color (plus optional second and third brand colors) and choose one of five strategies: Anchored, Counterpoint, Tonal Depth, Open Triad and Temperature Split. Each produces 28 semantic role tokens (canvas, surface, text, primary, on-primary, link, focus, success, warning, danger and more), each in a light mode and a dark mode. - **Contrast is enforced, not suggested.** Every foreground/background pair a role system implies is checked against WCAG 2.2 contrast thresholds, and the system is adjusted until all pairs pass. - **Color-vision aware.** Success, warning and danger are separated under simulated protan, deutan and tritan vision (Machado, Oliveira & Fernandes, 2009), and diagnostics grade remaining collisions at both dichromacy (severity 1.0) and anomalous trichromacy (severity 0.6). - **Dark mode is designed, not inverted.** Each dark mode is generated in the Oklab color space with its own contrast audit. - **Ship it.** Every system exports as a drop-in `theme.css` (light by default, dark from the OS, `data-theme` to override), a Tailwind v4 mapping, DTCG design tokens, and a `contract.md` agent design brief with pairing rules and forbidden combinations. - **Hear it.** A color piano plays the palette as music, and concert mode composes eight movements from the systems while the page changes key with each one. ## Links - [Home: try it with your brand color](https://huemantics.pages.dev/) - [The lab: compare role-aware palettes in real interface contexts](https://huemantics.pages.dev/lab/) - [Play a concert](https://huemantics.pages.dev/#play)