Playfair Display + M PLUS 1 Code
Font pairing: Playfair Display for headings, M PLUS 1 Code 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.
- Similar x-height
- Both open source
Why Playfair Display and M PLUS 1 Code work
- Matching x-heights (51% and 52% of the font size), so they mix evenly on one line.
- Both open source: free to modify, share, self-host and subset, including for commercial use.
Playfair Display and M PLUS 1 Code compared
| Detail | Playfair DisplayHeadings | M PLUS 1 CodeText |
|---|---|---|
| Style | Modern (Didone) serif | Monospace |
| Stroke contrast | Very high | Low |
| x-height | 0.51 em | 0.52 em |
| Average width | 0.51 em | 0.50 em |
| Weights | 6 weights, 400-900 (variable) | 7 weights, 100-700 (variable) |
| Italics | Yes | No |
| Scripts | Cyrillic, Latin, Latin Extended and Vietnamese | Japanese, Latin, Latin Extended and Vietnamese |
| Designer | Claus Eggers Sørensen | Coji Morishita |
| 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: Playfair Display and M PLUS 1 Code have similar average widths (within 2%).
- Weights: Playfair Display at 700 for headings, M PLUS 1 Code at 400 for text and 700 for bold. M PLUS 1 Code has no italics, so browsers slant it for emphasis.
- Scripts: both cover Latin, Latin Extended and Vietnamese. Only Playfair Display covers Cyrillic. Only M PLUS 1 Code covers Japanese.
The two fonts
Heading
Playfair Display
Open sourceSerif · DidoneGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
Body
M PLUS 1 Code
Open sourceMonospace · MonospaceGoogle 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=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@100;200;300;400;500;600;700&display=swap');
h1, h2, h3 {
font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
font-weight: 700;
}
body {
font-family: 'M PLUS 1 Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
Pair Playfair Display with…
Playfair Display
Inter Good typography is invisible until it is missing.
Playfair Display
Lato Good typography is invisible until it is missing.
Playfair Display
Montserrat Good typography is invisible until it is missing.
Playfair Display
Source Sans 3 Good typography is invisible until it is missing.
Playfair Display
Playfair Good typography is invisible until it is missing.
Playfair Display
Google Sans Good typography is invisible until it is missing.
Pair M PLUS 1 Code with…
M PLUS 1
M PLUS 1 Code Good typography is invisible until it is missing.
M PLUS Code Latin
M PLUS 1 Code Good typography is invisible until it is missing.
M PLUS 2
M PLUS 1 Code Good typography is invisible until it is missing.
PT Serif
M PLUS 1 Code Good typography is invisible until it is missing.
Neuton
M PLUS 1 Code Good typography is invisible until it is missing.
Laila
M PLUS 1 Code Good typography is invisible until it is missing.