Sign in

Shafarik + Alegreya Sans

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

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

  • Display face over humanist sans: one voice for headlines, one workhorse for reading.
  • Alegreya Sans has regular, italic and bold styles and open, even shapes: comfortable at 16 px.
  • On one line, set Alegreya Sans about 9% larger so the x-heights align.
  • Both open source: free to modify, share, self-host and subset, including for commercial use.

Shafarik and Alegreya Sans compared

DetailShafarikHeadingsAlegreya SansText
StyleClarendon slabHumanist sans
Stroke contrastHighLow
x-height0.50 em0.46 em
Average width0.46 em0.45 em
Weights400 only7 weights, 100-900
ItalicsNoYes
ScriptsCyrillic, Cyrillic Extended, Glagolitic, Latin and Latin ExtendedCyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more
DesignerAleksandr AndreevJuan Pablo del Peral and HT Fonts
LicenceSIL Open Font License 1.1SIL Open Font License 1.1
  • x-height: at the same size, Alegreya Sans’s lowercase is 8% shorter than Shafarik’s. When the two share a line, set Alegreya Sans at 109% to even them out.
  • Width: Shafarik and Alegreya Sans have similar average widths (within 3%).
  • Weights: Shafarik at 400 for headings, Alegreya Sans at 400 for text and 700 for bold.
  • Scripts: both cover Cyrillic, Cyrillic Extended, Latin and Latin Extended. Only Shafarik covers Glagolitic. Only Alegreya Sans covers Greek, Greek Extended and Vietnamese.

The two fonts

Heading Shafarik

Open sourceDisplayGoogle Fonts

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

About ShafarikDownload

Body Alegreya Sans

Open sourceSans Serif · HumanistGoogle Fonts

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

About Alegreya SansDownload

CSS for this pairing

@import url('https://fonts.googleapis.com/css2?family=Shafarik&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap');

h1, h2, h3 {
  font-family: 'Shafarik', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
}
body {
  font-family: 'Alegreya Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

Pair Shafarik with…

Pair Alegreya Sans with…

How does it work?

Explore more font pairings →