Montserrat + Source Code Pro
Font pairing: Montserrat for headings, Source Code Pro for body text.
The quick brown fox jumps over the lazy dog
Good typography is invisible until it is missing. Pair a characterful headline with a calm, readable text face, keep lines between 45 and 75 characters, and give every paragraph room to breathe.
- Comfortable body text
- Align the x-heights
- Both open source
Why Montserrat and Source Code Pro work
- Source Code Pro has regular, italic and bold styles and a generous x-height: comfortable at 16 px.
- On one line, set Source Code Pro about 8% larger so the x-heights align.
- Both open source: free to modify, share, self-host and subset, including for commercial use.
Montserrat and Source Code Pro compared
| Detail | MontserratHeadings | Source Code ProText |
|---|---|---|
| Style | Geometric sans | Humanist sans |
| Stroke contrast | Low | Low |
| x-height | 0.53 em | 0.49 em |
| Average width | 0.57 em | 0.60 em |
| Weights | 9 weights, 100-900 (variable) | 8 weights, 200-900 (variable) |
| Italics | Yes | Yes |
| Scripts | Cyrillic, Cyrillic Extended, Latin, Latin Extended and Vietnamese | Cyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more |
| Designer | Julieta Ulanovsky, Sol Matas, Juan Pablo del Peral and Jacques Le Bailly | Paul D. Hunt |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |
- x-height: at the same size, Source Code Pro’s lowercase is 7% shorter than Montserrat’s. When the two share a line, set Source Code Pro at 108% to even them out.
- Width: Source Code Pro runs 5% wider than Montserrat on average.
- Weights: Montserrat at 700 for headings, Source Code Pro at 400 for text and 700 for bold.
- Scripts: both cover Cyrillic, Cyrillic Extended, Latin, Latin Extended and Vietnamese. Only Source Code Pro covers Greek and Greek Extended.
The two fonts
Heading
Montserrat
Open sourceSans Serif · GeometricGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
Body
Source Code Pro
Open sourceMonospaceGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
CSS for this pairing
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
h1, h2, h3 {
font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-weight: 700;
}
body {
font-family: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
Pair Montserrat with…
Montserrat
Merriweather Good typography is invisible until it is missing.
Montserrat
Lora Good typography is invisible until it is missing.
Montserrat
Open Sans Good typography is invisible until it is missing.
Montserrat
Libre Baskerville Good typography is invisible until it is missing.
Montserrat
Playfair Display Good typography is invisible until it is missing.
Montserrat
Bitter Good typography is invisible until it is missing.
Pair Source Code Pro with…
Source Sans 3
Source Code Pro Good typography is invisible until it is missing.
Source Serif 4
Source Code Pro Good typography is invisible until it is missing.
Source Sans Pro
Source Code Pro Good typography is invisible until it is missing.
Source Serif Pro
Source Code Pro Good typography is invisible until it is missing.
Special Elite
Source Code Pro Good typography is invisible until it is missing.
Zodiak
Source Code Pro Good typography is invisible until it is missing.