Klarna — decoded design system
Klarna's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/klarna.com.
Decoded design system
Klarna's decoded design system: background #FFFFFF, text #0B051D, accent #FFA8CD, link #F9F8F5, primary #FFA8CD; type scale h1 100px / h2 84px / body 16px; 4px spacing base; 20px base radius. The single interactive/action color is #FFA8CD — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F0F0F1 |
| border | #DAD9DD |
| text | #0B051D |
| text_muted | #676472 |
| primary | #FFA8CD |
| accent | #FFA8CD |
| link | #F9F8F5 |
| secondary | #373544 |
| button_bg | #FFA8CD |
| button_text | #0B051D |
Using these colors
- Action color
#FFA8CD— the single interactive color; only on things you click or must notice, never large fills. primary,accent,button_bgare all#FFA8CD— one role, not several (the action color).- accent
#FFA8CD— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - link
#F9F8F5— fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - secondary
#373544— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Klarna Title
- Body: Klarna Sans
- h1: 100px
- h2: 84px
- body: 16px
Spacing
- base unit: 4px
- scale: 2px, 4px, 8px, 10px, 11px, 12px, 16px, 20px, 24px, 32px
Radii
- base: 20px
- button: 24px
Shadows (elevation)
- card:
rgba(0, 0, 0, 0.2) 0px 0px 18px 0px
Motion
Micro-interactions run at 200ms (dominant) with ease.
- durations: 200ms · 300ms · 90ms
- easings:
ease·linear - animated properties: opacity, background-color, border-color, color
Native design tokens
| Token | Value |
|---|---|
--colors-bg-page | #FFFFFF |
--colors-bg-plain | #FFFFFF |
--colors-bg-container | #F8F7FA |
--colors-bg-subtle | #F3F3F5 |
--colors-bg-neutral | #E2E2E7 |
--colors-bg-inverse | #0B051D |
--colors-bg-accent | #7039E2 |
--colors-bg-negative | #AE1D1D |
--colors-bg-negative-subtle | #FFE6E6 |
--colors-bg-warning | #FBC64D |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
#FFD8EA - primary focus: box-shadow
rgb(112, 57, 226) 0px 0px 0px 2px· background#FFD8EA· outline2px solid rgb(11, 5, 29)
Layout (measured)
- container max-width:
700px - nav: 72px
- common grid: 2 columns
Motion choreography (measured)
Load order: div.pr-xma6ck → div.pr-1nmwv0e → div.pr-1nmwv0e → div.pr-1nmwv0e → div.pr-1nmwv0e → div.pr-1s8myht
Scroll reveal: 20 elements rest at opacity 0, translateY(20px), animate in over 300ms.
Stagger: span ×5 — 100ms apart.
Stagger: div ×6 — 100ms apart.
Responsive (measured)
- mobile (390px): hero 52px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/klarna.com
registry item · or query it over MCP: get_design_system("Klarna")
Export: DESIGN.md
# Klarna — Design System > light, modern, medium, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#F0F0F1` | | border | `#DAD9DD` | | text | `#0B051D` | | text_muted | `#676472` | | primary | `#FFA8CD` | | accent | `#FFA8CD` | | link | `#F9F8F5` | | secondary | `#373544` | | button_bg | `#FFA8CD` | | button_text | `#0B051D` | **Using these colors** - **Action color** `#FFA8CD` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `accent`, `button_bg` are all `#FFA8CD` — one role, not several (your action color). - **accent** `#FFA8CD` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **link** `#F9F8F5` — fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - **secondary** `#373544` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. - **Page coverage** (full-page screenshot pixels): `#FFFFFF` 31.6% · `#EEEEEB` 19.5% · `#000001` 15.3% · `#CDBCC2` 13.4% ## Typography - Heading: **Klarna Title** _(free fallback: Newsreader)_ - Body: **Klarna Sans** _(free fallback: Newsreader)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 100px / 700 · lh 40px | | h2 | 84px / 700 · lh 76px | | h3 | 64px / 700 · lh 62px | | body | 16px / 400 · lh 24px | | small | 14px / 500 · lh 16px | - Weight ladder: 400 · 500 · 700 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Klarna Title may be proprietary — safe free fallback: Newsreader (Google Fonts). Klarna Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 4px, 8px, 10px, 11px, 12px, 16px, 20px, 24px, 32px — snap all gaps/padding to these - section rhythm: 120px top/bottom padding per section (measured) ## Radius - base: 20px - button: 24px - card: 16px - pill: 9999px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#FFA8CD` / `#0B051D` | none | 24px | 12px 20px 12px 20px | 500 16px | none | | secondary | `#0B051D` / `#FFFFFF` | none | 9999px | 10px 20px 10px 20px | 400 16px | none | **States (measured, not guessed)** - primary hover: background `#FFD8EA` - primary focus: box-shadow `rgb(112, 57, 226) 0px 0px 0px 2px` · background `#FFD8EA` · outline `2px solid rgb(11, 5, 29)` - secondary hover: background `#2C2242` ## Shadows (elevation) - card: `rgba(0, 0, 0, 0.2) 0px 0px 18px 0px` ## Motion - durations: 200ms (dominant) · 300ms · 90ms - easings: `ease` (dominant) · `linear` - animated properties: opacity, background-color, border-color, color Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--colors-bg-page` | `#FFFFFF` | | `--colors-bg-plain` | `#FFFFFF` | | `--colors-bg-container` | `#F8F7FA` | | `--colors-bg-subtle` | `#F3F3F5` | | `--colors-bg-neutral` | `#E2E2E7` | | `--colors-bg-inverse` | `#0B051D` | | `--colors-bg-accent` | `#7039E2` | | `--colors-bg-negative` | `#AE1D1D` | | `--colors-bg-negative-subtle` | `#FFE6E6` | | `--colors-bg-warning` | `#FBC64D` | | `--colors-bg-warning-subtle` | `#FFF5E4` | | `--colors-bg-positive` | `#046234` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 700px · common grid: 2-col - nav: 72px | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 4295 | 1352 | — | — | 120/120 | — | | 4415 | 1112 | — | — | 0/0 | — | ## Motion choreography (measured) Load order: `div.pr-xma6ck` @0ms → `div.pr-1nmwv0e` @1135ms → `div.pr-1nmwv0e` @1135ms → `div.pr-1nmwv0e` @1135ms → `div.pr-1nmwv0e` @1135ms → `div.pr-1s8myht` @1136ms - `div.pr-xma6ck` — transform translateX(-100%)→translateX(0px) — 5000ms - stagger: `span` ×5 — 100ms apart - stagger: `div` ×6 — 100ms apart - scroll reveal: 20 elements rest at opacity 0, translateY(20px), animate in over 300ms (16 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #0B051D · underline — hover #5C31B8 ## Responsive (measured) - mobile (390px): hero 52px · body 16px · nav: hamburger ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.
An automated reading of Klarna's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with klarna.com. No screenshots stored. Removal requests: hello@mozaika.design.