Building Brand Color Systems
A brand color system is the difference between "our brand is blue" and "our brand is a coherent visual language that scales from a button to a billboard".
1. Define roles
Every color has a job:
- Brand primary — the hero color
- Brand secondary — accent for non-primary CTAs
- Neutrals — background, text, borders
- Semantic — error, success, warning, info
2. Generate scales
Each role becomes a 9-step scale (50–900). Don't pick colors randomly — generate them algorithmically and check contrast at each step.
3. Create semantic tokens
Tokens are named for their purpose, not their appearance:
--color-primary
--color-primary-hover
--color-text-primary
--color-text-secondary
--color-bg-page
--color-bg-card
--color-bg-hover
--color-border
--color-focus-ring
--color-error
--color-success
4. Document usage
For each token, document: what it's for, what it's not for, adjacent examples, accessibility notes.
5. Support themes
Light mode and dark mode are separate token values, not separate token names. The token "color-text-primary" resolves to #111827 in light mode and #F1F5F9 in dark mode.
6. Test with real UI
Build a style guide page showing every token in context: buttons, form fields, alerts, tables, cards, navigation.