Replicate Design System
Dark · Generated 17/04/2026 · 35 colors · 32 type tokens · 22 spacing steps · 6 motion tokens
v1.0.0
Color Palette
Background Colors
Dark Gray
#202020
White
#FCFCFC
Black
#000000
White 2
#FFFFFF
Brand Red
#EA2804
Light Gray 2
#EFEFEF
White 3
#F9F9F9
Light Gray 5
#E8E8E8
White 5
#FEFCE9
White 4
#FFFCFC
Cyan 3
#2B9A66
Text Colors
Dark Gray 2
#646464
Dark Gray 3
#24292E
Light Gray
#BBBBBB
Dark Blue
#032F62
Red 2
#D73A49
Mid Gray
#838383
Blue
#005CC5
Accent & Semantic Colors
Purple
#6F42C1
Red 3
#DD4425
Orange
#E36209
Dark Yellow
#735C0F
Light Pink
#FF6BFC
Light Yellow
#F6F47F
Cyan
#00C8D2
Blue 3
#3C8CFF
Cyan 2
#78E6DC
Border Color
Light Gray 4
#E0E0E0
Typography
Base Font · basier-square
Basier Square
Run AI with an API. Replicate lets you run machine learning models with a cloud API.
Regular · 400 Semibold · 600 Bold · 700
Mono Font · jetbrains-mono
JetBrains Mono
replicate.run("stability-ai/sdxl", input={"prompt": "astronaut on moon"})
Regular · 400 Medium · 500
AI
Display Hero · 96px · Bold · line-height: 96px · letter-spacing: −1.8px
Run AI.
Display · 72px · Bold · line-height: 72px · letter-spacing: −1.8px
Machine Learning
Heading XL · 48px · Bold · line-height: 48px · letter-spacing: −1.8px
Deploy models in seconds
Heading Large · 30px · Bold · line-height: 36px · letter-spacing: −0.35px
Run open-source models with a cloud API. Don't worry about infrastructure. Use it as an API or run it in your own cloud.
Body Large · 18px · Regular · line-height: 28px · letter-spacing: −0.35px
Fine-tune and deploy custom models at scale. Llama, Stable Diffusion, Whisper, and more.
Body Default · 16px · Regular · line-height: 24px
1.2B predictions served · 100k+ models · 99.9% uptime
Body Small · 14px · Regular · line-height: 20px
STABLE DIFFUSION · LLAMA · WHISPER
Caption · 12px · Semibold · line-height: 16px · uppercase label
Line Heights
Tight
15px
Snug
16px
Normal
16.5px
Relaxed
20px
Loose
24px
Spacious
28px
Open
32px
Airy
36px
Display SM
48px
Display LG
72px
Display XL
96px
Letter Spacing
Run AI fast.
Tight · −1.8px
--letter-spacing-tight · hero headlines, display sizes
Deploy models
Normal · −0.35px
--letter-spacing-normal · body text, headings, UI
Spacing
Spacing Scale
22 tokens — 1px → 355px
1
2
4
6
8
10
12
16
24
28
32
48
56
64
96
144
160
166
192
214
355
Borders
Border Radii
SM
2px
MD (top)
4px 4px 0 0
LG / Pill
9999px
Replicate uses a minimal 3-token radius system: sharp 2px squares for most surfaces, a partial top-radius 4px 4px 0 0 for tabs/panels, and full 9999px pills for badges and buttons.
Border Widths
--border-width-hairline
1px · standard cards, inputs, dividers
--border-width-thin
2px · emphasis, focus rings
--border-width-base
4px · left border accent, strong indicators
The 4px --border-width-base is characteristic of Replicate's left-border accent pattern on code blocks and callouts.
Shadow / Elevation
Shadow Tokens
3 tokens
shadow-sm
Warm accent shadow
display-p3 warm yellow glow · 1px 2px — interactive elements, highlighted buttons
shadow-md
Deep drop
rgba(0,0,0,.25) 25px 50px -12px — modals, floating panels, cards at rest
shadow-lg
Green ring
display-p3 green 2px ring — success state, confirmed/active model cards
Z-Index
LayerValueUsage
--z-1-10Deep background decorations, ambient layers
--z-2-1Behind content, decorative shapes
--z-310Sticky navigation, floating labels
--z-420Dropdowns, popovers, tooltips
--z-530Overlays, drawers, sidebars
--z-69999Top-level modals, command palette, alerts
Breakpoints
📋
No breakpoints defined
Not specified
The Replicate design system does not define explicit breakpoint tokens. Responsive behavior is implemented directly in component styles without named breakpoint variables.
Opacity
Opacity Tokens
1 token defined · 0.3
--opacity-30
30% · disabled/muted states
Only one opacity token is formally defined. Additional transparency values are applied inline throughout the system.
Accessibility — Contrast Ratios
WCAG 2.1 thresholds: AA ≥ 4.5:1 (normal text) · AA Large ≥ 3:1 (large/bold) · AAA ≥ 7:1
Text TokenBackground TokenRatioWCAG Rating
--color-dark-gray-2--color-dark-gray2.75:1Fail
--color-dark-gray-2--color-white5.77:1AA
--color-dark-gray-2--color-black3.55:1AA Large
--color-dark-gray-2--color-white-25.92:1AA
--color-dark-gray-2--color-red1.35:1Fail
--color-dark-gray-3--color-dark-gray1.11:1Fail
--color-dark-gray-3--color-white14.3:1AAA
--color-dark-gray-3--color-white-214.67:1AAA
--color-dark-gray-3--color-red3.36:1AA Large
--color-light-gray--color-dark-gray8.49:1AAA
--color-light-gray--color-black10.94:1AAA
--color-light-gray--color-white1.87:1Fail
--color-dark-blue--color-white12.9:1AAA
--color-dark-blue--color-white-213.23:1AAA
--color-red-2--color-dark-gray3.56:1AA Large
--color-red-2--color-black4.59:1AA
--color-red-2--color-white-24.57:1AA
CSS Variables Reference
Background Colors 11 tokens
Dark Gray--color-dark-gray#202020
White--color-white#FCFCFC
Black--color-black#000000
White 2--color-white-2#FFFFFF
Brand Red--color-red#EA2804
Light Gray 2--color-light-gray-2#EFEFEF
White 3--color-white-3#F9F9F9
White 4--color-white-4#FFFCFC
Light Gray 5--color-light-gray-5#E8E8E8
White 5--color-white-5#FEFCE9
Cyan 3--color-cyan-3#2B9A66
Text & Accent Colors 14 tokens
Dark Gray 2--color-dark-gray-2#646464
Dark Gray 3--color-dark-gray-3#24292E
Light Gray--color-light-gray#BBBBBB
Dark Blue--color-dark-blue#032F62
Red 2--color-red-2#D73A49
Mid Gray--color-mid-gray#838383
Blue--color-blue#005CC5
Purple--color-purple#6F42C1
Orange--color-orange#E36209
Dark Yellow--color-dark-yellow#735C0F
Light Gray 4--color-light-gray-4#E0E0E0
Typography 32 tokens
Base Font--font-family-basebasier-square
Mono Font--font-family-2jetbrains-mono
Display Font--font-family-3rb-freigeist-neue
Regular--font-weight-regular400
Semibold--font-weight-semibold600
Bold--font-weight-bold700
2XS--font-size-2xs10px
XS--font-size-xs11px
SM--font-size-sm12px
Base--font-size-base14px
LG--font-size-lg16px
XL--font-size-xl18px
2XL--font-size-2xl20px
4XL--font-size-4xl24px
5XL--font-size-5xl30px
6XL--font-size-6xl48px
Display--font-size-72px72px
Display XL--font-size-96px96px
Tight--letter-spacing-tight−1.8px
Normal--letter-spacing-normal−0.35px
Spacing 22 tokens
Space 1--space-11px
Space 2--space-22px
Space 3--space-34px
Space 4--space-46px
Space 6--space-68px
Space 8--space-810px
Space 10--space-1012px
Space 12--space-1216px
Space 16--space-1624px
Space 20--space-2028px
Space 24--space-2432px
Space 32--space-3248px
Space 40--space-4056px
Space 48--space-4864px
Space 64--space-6496px
Space 80--space-80144px
Space 96--space-96160px
Space 128--space-128166.5px
Space 160--space-160192px
Space 192--space-192214.5px
Space 256--space-256355px
Borders & Radius 5 tokens
Hairline--border-width-hairline1px
Thin--border-width-thin2px
Base (Accent)--border-width-base4px
Small--radius-sm2px
Medium (top)--radius-md4px 4px 0 0
Large / Pill--radius-lg9999px
Motion, Opacity & Layers 14 tokens
Instant--duration-instant150ms
Fast--duration-fast200ms
Normal--duration-normal500ms
Slow--duration-slow1s
Slower (ambient)--duration-slower10s
Linear--easing-linearlinear
Muted--opacity-3030%
Deep Background--z-1-10
Behind Content--z-2-1
Navigation--z-310
Popovers--z-420
Overlays--z-530
Top-Level Modals--z-69999
Design System Preview · Replicate (Dark) · Generated 17/04/2026 · 35 color tokens · 13 font-size · 3 font-family · 3 font-weight · 11 line-height · 2 letter-spacing · 22 spacing · 3 radius · 3 border-width · 3 shadow · 5 duration · 1 easing · 6 z-index · 1 opacity