Playfair Display + DM Sans

Serif headings with sans-serif body. Free CSS below.

A small coastal studio built for winter light

Twelve timber buildings along the Oregon coast, photographed fifty years after they were framed in local cedar.

1. Paste in <head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@400;600;700&display=swap">
2. Paste in CSS Includes fallback overrides to stop layout jump
/* Measured line-box delta vs Georgia: 0.59% */
@font-face {
  font-family: "Playfair Display Fallback";
  src: local("Georgia");
  size-adjust: 97.19%;
  ascent-override: 111.32%;
  descent-override: 25.82%;
  line-gap-override: 0.00%;
}

/* Usage */
font-family: "Playfair Display", "Playfair Display Fallback", serif;

:root {
  --font-heading: "Playfair Display", "Playfair Display Fallback", serif;
  --font-body: "DM Sans", sans-serif;
  --step-h1: clamp(2.7388rem, 2.3073rem + 1.8409vw, 3.78rem);
  --step-h2: clamp(2.2825rem, 1.9751rem + 1.3116vw, 3.0244rem);
  --step-h3: clamp(1.9019rem, 1.6874rem + 0.9149vw, 2.4194rem);
  --step-text-base: clamp(1.0625rem, 1.0073rem + 0.2354vw, 1.1956rem);
  --step-text-sm: clamp(0.8856rem, 0.8564rem + 0.1249vw, 0.9563rem);
}
Want Tailwind v4, design tokens, and a client spec sheet?
One-time $12 launch price · Free sample ZIP · 14-day refund
Technical metrics, fluid scale & licenses
x-height match 21.9/25
ratio 0.97
Category contrast 20/20
serif + sans-serif
Weight coverage 15/15
6h / 9b
Shared scripts 7/10
2 subsets
Download weight 12.6/15
65.6 KB
Character width 12.71/15
ratio 0.96
Playfair Display · OFL-1.1 · Reserved Font Name: Yes

Licensed under SIL Open Font License 1.1 with a Reserved Font Name ("Playfair Display"). Free for commercial and non-commercial web use and embedding. Do not redistribute modified font binaries under the reserved name.

Official license →
DM Sans · OFL-1.1 · Reserved Font Name: Yes

Licensed under SIL Open Font License 1.1 with a Reserved Font Name ("DM Sans"). Free for commercial and non-commercial web use and embedding. Do not redistribute modified font binaries under the reserved name.

Official license →

Related pairings