How to pair fonts that work together
Good font pairs differ in one clear way and agree in the rest. Most sites need only two families, one for headings and one for body text, set on a simple size scale.
The one-difference rule
Two fonts that are almost the same look like a mistake. Two fonts that differ in every way look chaotic. Aim for a pair that contrasts in one strong quality and matches in the others.
- Contrast in structure: a serif for headings with a sans-serif for body text, or the reverse.
- Agree in proportions: similar x-height (the height of a lowercase x) and similar width, so the two sit comfortably on one line or one page.
- Agree in mood: a geometric, crisp sans goes with a crisp, high-contrast serif more easily than with a soft, handwritten one.
Categories in plain terms
| Category | What to look for | Typical job |
|---|---|---|
| Old-style serif | Angled stress, small x-height, warm look | Long reading, books, essays |
| Transitional / modern serif | Vertical stress, sharper contrast between thick and thin | Headlines, editorial pages |
| Slab serif | Thick, square serifs | Bold headings, posters |
| Humanist sans | Strokes vary slightly, open letter shapes | Body text on screens, interfaces |
| Geometric sans | Near-perfect circles and straight lines | Headings, logos, short labels |
| Monospace | Every character the same width | Code, tables of figures |
A worked pairing process
- Choose the body font first. It carries most of the words. Test it at 16 to 18 pixels in a real paragraph, not in a single word.
- Choose the heading font second. Pick it from a different category. Set a heading above your test paragraph and look at both together.
- Compare x-heights. Type “xxx” in each font at the same size side by side. If one is clearly taller, the pair may look unbalanced in mixed text.
- Check the details you will use: numbers, italics, bold, quotation marks, and any accented letters your content needs.
- Load only the weights you use. Each weight and style is usually a separate file.
A safe pair with no downloads: Georgia for headings and Verdana for body text. Both were designed for screens and come installed on most desktop systems. Write a font stack so a fallback exists:
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
body { font-family: Verdana, Geneva, sans-serif; }
Sizes: a modular scale
Pick a base size and a ratio, then multiply up for each heading level. The steady ratio makes sizes feel related.
| Step | Ratio 1.25 | Ratio 1.333 | Use |
|---|---|---|---|
| −1 | 12.8 px | 12.0 px | Captions, small print |
| 0 | 16 px | 16 px | Body text |
| 1 | 20 px | 21.33 px | h4, lead text |
| 2 | 25 px | 28.43 px | h3 |
| 3 | 31.25 px | 37.9 px | h2 |
| 4 | 39.06 px | 50.52 px | h1 |
Values are rounded to two decimals. For example, step 3 at ratio 1.25 is 16 × 1.25 × 1.25 × 1.25 = 31.25. A larger ratio gives more drama; a smaller one suits dense pages and phones. Many sites use a smaller ratio on narrow screens and a larger one on wide screens.
Line length and line height
Typographers commonly suggest about 45 to 75 characters per line for comfortable reading. In CSS you can set max-width: 65ch on paragraphs, where ch is the width of the zero character in the current font. For body line height, values between about 1.4 and 1.6 are a common starting point. Headings usually need less, around 1.1 to 1.25, because big type with wide gaps looks loose.
Common mistakes
- Two display fonts. Decorative fonts are tiring in paragraphs. Keep them for short headings only.
- Faking bold or italic. If you do not load the real bold file, the browser thickens the regular one, and it looks smudged.
- Judging a font by its name or a single word. Always test in a paragraph with real content.
- Too many weights. Regular and bold, plus italic, cover most needs.
Questions people ask
Can one font family do everything?
Yes. A single family with several weights is a safe, clean choice. Contrast then comes from size and weight instead of from a second family.
Do I have to check font licences?
Yes. A font you can use on your computer is not always licensed for embedding on a website. Read the licence that comes with the font before you upload its files.