Brand DNA
Build a complete, accessible brand system in your browser: colour scales, light and dark themes, WCAG contrast checks, typography and live interface previews. Export it as CSS, design tokens or Tailwind.
Runs in your browser. Projects are saved only on this device, never sent to me. Manage saved data · Privacy
Previews are illustrations of your settings, not working controls.
Contrast report
WCAG 2.2 level AA: 4.5:1 for text, 3:1 for input borders and focus indicators (UI components). Ratios are rounded down for display and compared unrounded.
| Check | Needs | Light theme | Dark theme |
|---|
Your data on this device
Saved only in this browser. How The Lab stores data
How to use it
- Describe the brand: name, what it does, who it’s for and how it should feel. Everything is optional, but the previews read better with real words.
- Choose a primary, secondary and accent colour. Brand DNA builds full scales and assigns every colour role for light and dark themes automatically.
- Check the Contrast report. Anything that fails WCAG 2.2 AA is flagged with the nearest colour that passes, which you can apply in one click.
- Pick a typeface pairing (or let your personality settings suggest one), a type scale and corner radius. The previews update as you go.
- Export what you need: CSS variables, W3C design tokens, or a Tailwind v4 or v3 theme. Save the project file to keep a copy or open it on another device.
How it works
Colour scales
Each colour becomes an eleven-step scale in OKLCH, a colour space where equal steps look equally different to the eye. Your exact hex code is kept on the step nearest its lightness, and colours that don’t fit the screen’s range have their saturation reduced rather than their hue shifted.
Roles
Every role is picked by a published rule, not guesswork:
- Text and secondary text: the step nearest a sensible default that reaches 4.5:1 on both the page and surface colours.
- Buttons: your brand step if a white or near-black label reaches 4.5:1 on it, otherwise the nearest step that does. Hover moves one step further from the label colour.
- Input borders and focus rings: the nearest step that reaches 3:1, the WCAG minimum for UI components.
- Dark theme: the same rules applied to a dark page, searching towards lighter steps.
Typography
Sizes follow a modular scale (base size × ration). Line height tightens as text gets larger. Personality suggestions come from fixed, explainable rules, and nothing is applied until you choose to.
Limits
Contrast is checked for solid colours only, not text over images or gradients. WCAG contrast is a minimum, not a guarantee of readability; test with real people where you can.
Questions
- Is Brand DNA really free?
- Yes. There’s no account, no trial and no paid tier. It runs entirely in your browser, so it costs nothing to run.
- Where is my project saved?
- Only in this browser, on this device (in its local storage). Nothing is sent to a server. Clearing your browser data, or using “Delete all Lab data”, removes it. Export the project file if you want a copy you control.
- How accurate are the contrast checks?
- They use the WCAG 2.2 contrast formula on the exact colours shown, and compare the unrounded ratio against the threshold: 4.5:1 for text, 3:1 for input borders and focus rings. A pair that shows 4.49:1 fails. They can’t judge colours on top of images or gradients.
- Can I use these fonts commercially?
- Every typeface offered is published under the SIL Open Font License 1.1, which allows commercial use, embedding and redistribution as long as the licence travels with the font files. Each font’s licence and source are linked in the Export tab.
- Which Tailwind version should I export?
- Choose Tailwind v4 if your project has a CSS file with @import "tailwindcss" and no tailwind.config.js. Choose v3 if it has a tailwind.config.js. The v3 export also needs the CSS variables export for light and dark role colours.
- Does it use AI?
- No. Every colour, suggestion and statement comes from published, deterministic rules, so the same inputs always give the same result.
Need something more tailored?
Through LOLCorp, we develop bespoke software and digital solutions around your business.
More from The Lab
- Brand Palette & Contrast CheckerA quicker check when you only need one colour’s tints, shades and contrast.
- Email Signature GeneratorPut your brand colours to work in an email signature.
- AI Brand Prompt BuilderWrite marketing prompts around the brand personality you’ve set.
- TrueCostCompare the full cost of building, buying or subscribing over up to five years, with VAT, price rises, the break-even point and a printable report.