---
title: "Source Code Pro + Rubik Font Pairing - Free Fonts | Mrs Font"
description: "Source Code Pro headings with Rubik body text. Monospaced headings over neo-grotesque sans: a technical accent. Preview it live, press Space for new…"
url: https://mrsfont.web.app/pair/source-code-pro+rubik
---

# Source Code Pro + Rubik

Font pairing: Source Code Pro for headings, Rubik for body text.

Heading [Source Code Pro](https://mrsfont.web.app/font/source-code-pro) Open source

Body [Rubik](https://mrsfont.web.app/font/rubik) Open source

Press `Space` for a new pairing

[Preview site](https://mrsfont.web.app/extension)

- Monospaced headings over neo-grotesque sans
- Comfortable body text
- Both open source

## Why Source Code Pro and Rubik work

- Monospaced headings over neo-grotesque sans: a technical accent.
- Rubik has regular, italic and bold styles and a generous x-height: comfortable at 16 px.
- Both open source: free to modify, share, self-host and subset, including for commercial use.

## Source Code Pro and Rubik compared

|  | [Source Code Pro](https://mrsfont.web.app/font/source-code-pro) Headings | [Rubik](https://mrsfont.web.app/font/rubik) Text |
| --- | --- | --- |
| Style | Humanist sans | Neo-grotesque sans |
| Stroke contrast | Low | Low |
| x-height | 0.49 em | 0.52 em |
| Average width | 0.60 em | 0.53 em |
| Weights | 8 weights, 200-900 (variable) | 7 weights, 300-900 (variable) |
| Italics | Yes | Yes |
| Scripts | Cyrillic, Cyrillic Extended, Greek, Greek Extended, Latin and 2 more | Arabic, Cyrillic, Cyrillic Extended, Hebrew, Latin and Latin Extended |
| Designer | Paul D. Hunt | Hubert and Fischer, Meir Sadan, Cyreal, Daniel Grumer and Omaima Dajani |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |

- x-height: at the same size, Rubik’s lowercase is 7% taller than Source Code Pro’s. When the two share a line, set Rubik at 93% to even them out.
- Width: Rubik runs 12% narrower than Source Code Pro on average.
- Weights: Source Code Pro at 700 for headings, Rubik at 400 for text and 700 for bold.
- Scripts: both cover Cyrillic, Cyrillic Extended, Latin and Latin Extended. Only Source Code Pro covers Greek, Greek Extended and Vietnamese. Only Rubik covers Arabic and Hebrew.

## The two fonts

Heading [Source Code Pro](https://mrsfont.web.app/font/source-code-pro)

Open source Monospace Google Fonts

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

[About Source Code Pro](https://mrsfont.web.app/font/source-code-pro) [Download](https://api.fontsource.org/v1/download/source-code-pro)

Body [Rubik](https://mrsfont.web.app/font/rubik)

Open source Sans Serif · Neo-grotesque Google Fonts

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

[About Rubik](https://mrsfont.web.app/font/rubik) [Download](https://api.fontsource.org/v1/download/rubik)

### CSS for this pairing

```
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;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=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

h1, h2, h3 {
  font-family: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
}
body {
  font-family: 'Rubik', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
```

## Pair Source Code Pro with…

- [Source Code Pro](https://mrsfont.web.app/pair/source-code-pro+source-sans-3) · **Source Sans 3** · Open source
- [Source Code Pro](https://mrsfont.web.app/pair/source-code-pro+source-serif-4) · **Source Serif 4** · Open source
- [Source Code Pro](https://mrsfont.web.app/pair/source-code-pro+source-serif-pro) · **Source Serif Pro** · Open source
- [Source Code Pro](https://mrsfont.web.app/pair/source-code-pro+montserrat) · **Montserrat** · Open source
- [Source Code Pro](https://mrsfont.web.app/pair/source-code-pro+open-sans) · **Open Sans** · Open source
- [Source Code Pro](https://mrsfont.web.app/pair/source-code-pro+merriweather) · **Merriweather** · Open source

## Pair Rubik with…

- [Karma](https://mrsfont.web.app/pair/karma+rubik) · **Rubik** · Open source
- [Lora](https://mrsfont.web.app/pair/lora+rubik) · **Rubik** · Open source
- [Podkova](https://mrsfont.web.app/pair/podkova+rubik) · **Rubik** · Open source
- [Brawler](https://mrsfont.web.app/pair/brawler+rubik) · **Rubik** · Open source
- [Merriweather](https://mrsfont.web.app/pair/merriweather+rubik) · **Rubik** · Open source
- [Noto Serif Display](https://mrsfont.web.app/pair/noto-serif-display+rubik) · **Rubik** · Open source

**How does it work?**

[See how the pairing generator works](https://mrsfont.web.app/pair#how-h)

[Explore more font pairings →](https://mrsfont.web.app/pairings)
