Sign in

Public Sans + Alegreya

Font pairing: Public Sans for headings, Alegreya for body text.

Heading Public Sans Open source
The quick brown fox jumps over the lazy dog
Body Alegreya Open source
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.

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

DetailPublic SansHeadingsAlegreyaText
StyleGrotesque sansHumanist (Venetian) serif
Stroke contrastLowModerate
x-height0.52 em0.45 em
Average width0.53 em0.47 em
Weights9 weights, 100-900 (variable)6 weights, 400-900 (variable)
ItalicsYesYes
ScriptsLatin, Latin Extended and VietnameseCyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more
DesignerUSWDS, Dan Williams, Pablo Impallari and Rodrigo FuenzalidaJuan Pablo del Peral and HT Fonts
LicenceSIL Open Font License 1.1SIL 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.

About Public SansDownload

Body Alegreya

Open sourceSerif · HumanistGoogle Fonts

Free for personal and commercial use. You can self-host, subset and embed it.

About AlegreyaDownload

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…

Pair Alegreya with…

How does it work?

Explore more font pairings →