Source Sans Pro + Source Code Pro
Font pairing: Source Sans Pro 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.
- Superfamily
- Similar x-height
- Comfortable body text
- Both open source
Why Source Sans Pro and Source Code Pro work
- Same superfamily: Source Sans Pro + Source Code Pro, designed to work together.
- Matching x-heights (49% and 49% of the font size), so they mix evenly on one line.
- Source Code Pro has regular, italic and bold styles and a generous x-height: comfortable at 16 px.
- Both open source: free to modify, share, self-host and subset, including for commercial use.
Source Sans Pro and Source Code Pro compared
| Detail | Source Sans ProHeadings | Source Code ProText |
|---|---|---|
| Style | Sans Serif | Humanist sans |
| Stroke contrast | Not listed | Low |
| x-height | 0.49 em | 0.49 em |
| Average width | 0.47 em | 0.60 em |
| Weights | 6 weights, 200-900 | 8 weights, 200-900 (variable) |
| Italics | Yes | Yes |
| Scripts | Cyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more | Cyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more |
| Designer | Not listed | Paul D. Hunt |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |
- x-height: within 1% of each other, so the two can share a line at the same size.
- Width: Source Code Pro runs 26% wider than Source Sans Pro on average.
- Weights: Source Sans Pro at 700 for headings, Source Code Pro at 400 for text and 700 for bold.
- Scripts: both cover Cyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more.
The two fonts
Heading
Source Sans Pro
Open sourceSans SerifGoogle 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=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;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: 'Source Sans Pro', 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 Source Sans Pro with…
Source Sans Pro
Source Serif 4 Good typography is invisible until it is missing.
Source Sans Pro
Crimson Pro Good typography is invisible until it is missing.
Source Sans Pro
IBM Plex Serif Good typography is invisible until it is missing.
Source Sans Pro
Gentium Book Plus Good typography is invisible until it is missing.
Source Sans Pro
Merriweather Good typography is invisible until it is missing.
Source Sans Pro
Sentient 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 Serif Pro
Source Code Pro Good typography is invisible until it is missing.
Montserrat
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.