Type Scale Generator
Build a modular type scale from a base size and ratio, preview every step and export CSS, design tokens or Tailwind config.
Design & Accessibility
Generate a spacing scale on a 4px or 8px grid, linear or geometric, with names and exports for CSS, tokens and Tailwind.
Your files and text are processed on your own device, inside this page. Nothing is uploaded to Dubinity or stored, and closing the tab discards it. How privacy works
Choose a base unit and how the scale grows: Tailwind-style multiples of the base, plain linear steps, or a geometric ratio. Name the steps by multiplier, number or t-shirt size, see each one as a bar, and export CSS custom properties, DTCG design-token JSON or Tailwind configuration.
Geometric steps can be rounded to whole pixels so they stay crisp on screen.
Was this tool helpful?
Build a modular type scale from a base size and ratio, preview every step and export CSS, design tokens or Tailwind config.
Build a small design-token set - colours, type scale, spacing, radii and shadows - and export CSS variables, DTCG JSON or Tailwind.
Convert pixels to rem and rem to pixels for CSS, from any root font size, with points and percent alongside.
Convert a colour between HEX, RGB, HSL, HSV, HWB, CMYK and OKLCH, with contrast against black and white.
Generate placeholder paragraphs, sentences or words, in classic Latin or in Arabic filler text.
Generate colour palettes from a base colour and a harmony, or at random with locks, then export CSS, tokens, Tailwind or a PNG.