Python fonts and type scale
Python's website sets body text in Source Sans Pro Regular and headings in Source Sans Pro Bold, with Consolas for code. Body text is 14px, section headings 24px and the largest display type 28px, at weight 400. If you can't use Source Sans Pro Regular, ask your AI for the closest free match and keep the sizes and weights.
Python color codes
| Canvas | #FFFFFF | the page background |
|---|
| Surface | #E6E8EA | cards and raised areas |
|---|
| Text | #444444 | primary text |
|---|
| Accent | #FFD343 | buttons, links and focus |
|---|
| Second accent | #3776AB | secondary emphasis |
|---|
| Muted | #666666 | secondary text and captions |
|---|
| Border | #CACCCE | dividers and outlines |
|---|
How do I build a site that looks like Python with AI?
Open the Prompt tab above, change its first line to what you are building, and paste it into Lovable, v0, Bolt, Claude Code or Cursor. For a whole project, install the Claude skill or the Cursor rule instead, so every screen keeps the style. Build something original: keep Python's look, not its name, logo or copy.
More designs
Or open the full Python report, or read any other site on Siteprint.
Read from python.org's public CSS on 25 October 2026. Siteprint is not affiliated with Python; names and trademarks belong to their owners.