Public Sans + Alegreya
Font pairing: Public Sans 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.
- Grotesque sans over Venetian serif
- Comfortable body text
- Align the x-heights
- Both open source
Why Public Sans and Alegreya work
- Grotesque 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 14% larger so the x-heights align.
- Both open source: free to modify, share, self-host and subset, including for commercial use.
Public Sans and Alegreya compared
| Detail | Public SansHeadings | AlegreyaText |
|---|---|---|
| Style | Grotesque sans | Humanist (Venetian) serif |
| Stroke contrast | Low | Moderate |
| x-height | 0.52 em | 0.45 em |
| Average width | 0.53 em | 0.47 em |
| Weights | 9 weights, 100-900 (variable) | 6 weights, 400-900 (variable) |
| Italics | Yes | Yes |
| Scripts | Latin, Latin Extended and Vietnamese | Cyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more |
| Designer | USWDS, Dan Williams, Pablo Impallari and Rodrigo Fuenzalida | 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 Public Sans’s. When the two share a line, set Alegreya at 114% to even them out.
- Width: Alegreya runs 12% narrower than Public Sans on average.
- Weights: Public Sans 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
Public Sans
Open sourceSans Serif · GrotesqueGoogle 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=Public+Sans: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=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: 'Public Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-weight: 700;
}
body {
font-family: 'Alegreya', Georgia, "Times New Roman", serif;
}
Pair Public Sans with…
Public Sans
Lora Good typography is invisible until it is missing.
Public Sans
STIX Two Text Good typography is invisible until it is missing.
Public Sans
Noto Serif Good typography is invisible until it is missing.
Public Sans
Andada Pro Good typography is invisible until it is missing.
Public Sans
Roboto Serif Good typography is invisible until it is missing.
Public Sans
Martel 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.