M PLUS Code Latin + Alegreya
Font pairing: M PLUS Code Latin for headings, Alegreya 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.
- Sans over Venetian serif
- Comfortable body text
- Align the x-heights
- Both open source
Why M PLUS Code Latin and Alegreya work
- Sans over Venetian serif: crisp headings, bookish reading text.
- Alegreya has regular, italic and bold styles and open, even shapes: comfortable at 16 px.
- On one line, set Alegreya about 15% larger so the x-heights align.
- Both open source: free to modify, share, self-host and subset, including for commercial use.
M PLUS Code Latin and Alegreya compared
| Detail | M PLUS Code LatinHeadings | AlegreyaText |
|---|---|---|
| Style | Sans Serif | Humanist (Venetian) serif |
| Stroke contrast | Not listed | Moderate |
| x-height | 0.52 em | 0.45 em |
| Average width | 0.50 em | 0.47 em |
| Weights | 7 weights, 100-700 (variable) | 6 weights, 400-900 (variable) |
| Italics | No | Yes |
| Scripts | Latin, Latin Extended and Vietnamese | Cyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more |
| Designer | Coji Morishita | Juan Pablo del Peral and HT Fonts |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |
- x-height: at the same size, Alegreya’s lowercase is 13% shorter than M PLUS Code Latin’s. When the two share a line, set Alegreya at 115% to even them out.
- Width: Alegreya runs 7% narrower than M PLUS Code Latin on average.
- Weights: M PLUS Code Latin at 700 for headings, Alegreya at 400 for text and 700 for bold.
- Scripts: both cover Latin, Latin Extended and Vietnamese. Only Alegreya covers Cyrillic, Cyrillic Extended, Greek and Greek Extended.
The two fonts
Heading
M PLUS Code Latin
Open sourceSans SerifGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
Body
Alegreya
Open sourceSerif · HumanistGoogle 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=M+PLUS+Code+Latin:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya: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');
h1, h2, h3 {
font-family: 'M PLUS Code Latin', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-weight: 700;
}
body {
font-family: 'Alegreya', Georgia, "Times New Roman", serif;
}
Pair M PLUS Code Latin with…
M PLUS Code Latin
M PLUS 1 Code Good typography is invisible until it is missing.
M PLUS Code Latin
PT Serif Good typography is invisible until it is missing.
M PLUS Code Latin
Source Serif 4 Good typography is invisible until it is missing.
M PLUS Code Latin
Andada Pro Good typography is invisible until it is missing.
M PLUS Code Latin
Tinos Good typography is invisible until it is missing.
M PLUS Code Latin
Fraunces Good typography is invisible until it is missing.
Pair Alegreya with…
Alegreya Sans
Alegreya Good typography is invisible until it is missing.
Sarala
Alegreya Good typography is invisible until it is missing.
Google Sans
Alegreya Good typography is invisible until it is missing.
Lato
Alegreya Good typography is invisible until it is missing.
Montserrat
Alegreya Good typography is invisible until it is missing.
Titillium Web
Alegreya Good typography is invisible until it is missing.