Code in, tokens out
Paste CSS, SCSS, JSON or a DESIGN.md. Colours, type and spacing arrive named and sorted.
Paste your CSS or select your layers. Design Token Studio turns them into colour, type and spacing tokens, checks every pair for contrast and hands the result to code.
From the Figma Community
“This is such an awesome tool Dave!”
Figma plugin / Start here
Type styles grouped by role, ready to render as Figma text styles. Read the guide.
Explore palettes, check contrast, or extract colors from your CSS. No signup.
Build a gradient, save it to your library, and share a link. Mesh gradients too.
Open the CSS Gradient GeneratorPick a harmony and a tone, set the steps and the depth. Studio builds the ramp around your colour.
Choose a pair, or drag a point on the web. The same maths as the plugin finds a text colour that gets there.
The score is PAS, our readability heuristic. It adds to WCAG; it does not certify conformance.
Interactive accessibility check from Design Token Studio: choose a colour pair, or drag a point on the radar, to see the score, the WCAG ratio and APCA change.
– Perceptual Accessibility Score
–WCAG –AAAAAAPCA –
White on Ultraviolet
"This is such an awesome tool Dave!"
01 / Start here
Start with the free features.
Open in Figma02 / Go Supporter
Pay what you want, from €4.99. Unlocks Pro, yours to keep.
14-day money-back guarantee
Licences have no device limit. Taxes and any currency conversion are confirmed at checkout.
Need a business license or a custom offer?
Tell me what you needThe details, when you need them.
Recent product updates and improvements.
Rename tokens in place, reorder them by dragging, and sort with immediate effect.
Generate tokens from the official defaults of popular design systems, then keep your sheets in sync.
Bundle colors, typography and numbers into named projects you can save, reopen and regenerate.
Four steps, then two notes worth knowing.
Open Design Token Studio in a Figma file you can edit and paste a stylesheet, for example :root { --color-primary: #1F5F8B; --radius-md: 8px; }. Or start from a system such as Material 3 in a new project.
Check names and values in the colour, type and number lists. Magic Clean merges duplicates; Rename gives the list one scheme.
Open a colour to see it against text. Read PAS beside the WCAG ratio and APCA, and take a suggested pair where it helps.
Render colours, text styles and numbers to Figma as variables and styles, then choose Code Token to export CSS, Tailwind, DTCG or another format. The playground file has examples.
Changing the stylesheet later does not update an earlier import. Extract again and review the differences.
PAS is a RAIKEN heuristic. Treat it as guidance beside the WCAG ratio; see the W3C contrast criterion.