Best For
terracotta / terracotta color palette / earth tones
A Mediterranean terracotta and warm earth design style with warm clay tones, rough handcrafted textures, and natural patterns. Ideal for lifestyle brands, dining, travel, and artisan product showcases.
Best For
terracotta / terracotta color palette / earth tones
Primary Move
Use warm cream backgrounds bg-[#faf5ef]
Watch Out
Do not use cool tones like blue or purple bg-blue-* bg-purple-*
AI Implementation
Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Terracotta
style_slug: terracotta
style_source: /styles/terracotta
# Hard Prompt
## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.
## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.
Strictly follow the style rules below and maintain consistency. No style drift allowed.
## Requirements
- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.
## Style Rules
You are designing in Terracotta style inspired by Mediterranean clay craftsmanship.
- Use warm earth tones: cream #faf5ef, terracotta #b5654a, sand #d4a373, earth #7a6350
- Accent with olive green #8b9d77 for natural vitality
- Rounded corners (rounded-lg, rounded-xl) to evoke handcrafted ceramics
- Warm, soft shadows using terracotta-tinted shadow colors
- Generous spacing for a relaxed, inviting feel
- No cool blues, purples, or neon colors
- No sharp corners or heavy black elements
Animation & Interaction Rules:
- Sun-Baked Glow: On hover, use warm glow and background deepening to simulate the warm radiance of sun-heated clay.
- Clay Press: Active state forbids elastic scaling; use translate-y with inset shadow to convey hard material press-down resistance.
- Handcrafted Slowness: Interactions use duration-300 ease-out, avoiding overly modern bouncy feedback.
- Earthy Focus: Form focus uses terracotta or olive green borders to reinforce state, avoiding harsh blue rings.
---
# Terracotta Design System
> A Mediterranean terracotta and warm earth design style with warm clay tones, rough handcrafted textures, and natural patterns. Ideal for lifestyle brands, dining, travel, and artisan product showcases.
## Design Philosophy
Terracotta originates from the millennia-old pottery traditions of the Mediterranean coast, infusing the warm hues of fired earth into digital design.
Core principles:
- Warmth of earth: terracotta (#b5654a) as the primary color, conveying the warmth of clay tempered by flame
- Handcrafted texture: rounded corners and soft shadows simulate the tactile feel of handmade goods
- Natural harmony: cream white base with earth-tone accents, like sunlight falling on pottery
- Breath of life: olive green (#8b9d77) as a botanical accent, giving the design vitality
- Beauty of simplicity: rejecting over-decoration, letting materials and colors speak for themselves
---
## Token Dictionary (exact class mapping)
### Border
```
Width: border
Color: border-[#d4a373]/30
Radius: rounded-lg
```
### Shadow
```
sm: shadow-sm shadow-[#b5654a]/5
md: shadow-md shadow-[#b5654a]/10
lg: shadow-lg shadow-[#b5654a]/12
hover: hover:shadow-lg hover:shadow-[#b5654a]/15
focus: ring-2 ring-[#b5654a]/20
```
### Interaction
```
Hover translate: (none)
Hover scale: (none)
Hover opacity: hover:bg-[#d4a373]/10
Transition: transition-all duration-300
Active: active:scale-95
```
### Typefaces
```
Heading: font-semibold
Body: font-sans
Mono: font-mono
```
### Type scale
```
Hero: text-4xl md:text-5xl lg:text-6xl
H1: text-3xl md:text-4xl
H2: text-2xl md:text-3xl
H3: text-xl md:text-2xl
Body: text-sm md:text-base
Small: text-xs
```
### Spacing
```
Section: py-16 md:py-24
Container: px-6 md:px-12
Card: p-6 md:p-8
Gap sm: gap-4
Gap md: gap-6 md:gap-8
Gap lg: gap-8 md:gap-12
```
### Color roles
```
Background primary: bg-[#faf5ef]
Background secondary: bg-white
Background accent: bg-[#b5654a], bg-[#d4a373], bg-[#8b9d77]
Text primary: text-[#7a6350]
Text secondary: text-[#7a6350]/75
Text muted: text-[#d4a373]
Button primary: bg-[#b5654a] text-[#faf5ef]
Button secondary: bg-transparent text-[#b5654a] border border-[#b5654a]/40
```
---
## [FORBIDDEN]
These classes are banned in this style. Check for them before returning code:
### Banned classes
- `bg-blue-500`
- `bg-purple-500`
- `bg-cyan-500`
- `bg-indigo-500`
- `text-black`
- `bg-black`
- `rounded-none`
- `rounded-sm`
- `shadow-2xl`
- `bg-gradient-to-r`
- `border-black`
- `bg-neon-green`
### Banned patterns
- matches `^bg-blue-`
- matches `^bg-purple-`
- matches `^bg-cyan-`
- matches `^bg-indigo-`
- matches `^bg-violet-`
- matches `^bg-gradient-`
- matches `^text-blue-`
- matches `^text-purple-`
- matches `^text-cyan-`
- matches `^neon-`
### Why they are banned
- `bg-blue-500`: Terracotta uses warm earth tones, not cool colors
- `bg-purple-500`: Terracotta avoids cool tones; use warm earth palette instead
- `rounded-none`: Terracotta uses rounded corners (rounded-lg) to evoke handcrafted ceramics
- `text-black`: Terracotta uses warm dark tones (#7a6350) instead of pure black
- `bg-gradient-to-r`: Terracotta uses solid, natural earth colors
- `shadow-2xl`: Terracotta uses soft warm shadows, not heavy ones
> WARNING: if your code contains any of the above, replace it before shipping.
---
## [REQUIRED]
### Every button must include
```
px-6 py-3
rounded-lg
font-medium
transition-colors duration-300
```
### Every card must include
```
bg-[#faf5ef]
rounded-xl
border border-[#d4a373]/25
```
### Every input must include
```
px-4 py-3
bg-white
border border-[#d4a373]/40
rounded-lg
text-[#7a6350]
placeholder-[#d4a373]/50
focus:border-[#b5654a]
focus:ring-2 focus:ring-[#b5654a]/20
transition-all duration-300
```
---
## [COMPARE] Terracotta wrong vs right
The wrong examples below stand for generic library defaults that were never adapted to this style. Do not read them as visual suggestions.
### Button
[WRONG] **Wrong** (generic component library default, do not copy):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
Click me
</button>
```
[CORRECT] **Right** (uses this style's tokens):
```html
<button class="px-6 py-3 rounded-lg font-medium transition-colors duration-300 bg-[#b5654a] text-[#faf5ef]">
Click me
</button>
```
### Card
[WRONG] **Wrong** (generic card, not adapted to this style):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **Right** (uses this style's card tokens):
```html
<div class="bg-[#faf5ef] rounded-xl border border-[#d4a373]/25 p-6 md:p-8">
<h3 class="font-semibold text-xl md:text-2xl">{TITLE}</h3>
</div>
```
### Input
[WRONG] **Wrong** (generic input, not adapted to this style):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```
[CORRECT] **Right** (uses this style's input tokens):
```html
<input class="px-4 py-3 bg-white border border-[#d4a373]/40 rounded-lg text-[#7a6350] placeholder-[#d4a373]/50 focus:border-[#b5654a] focus:ring-2 focus:ring-[#b5654a]/20 transition-all duration-300" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Terracotta page skeletons
These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:
### Navigation
```html
<nav class="bg-[#faf5ef] text-[#7a6350] border border-[#d4a373]/30 px-6 md:px-12">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-6 md:gap-8">
<a href="/" class="font-semibold text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-6 md:gap-8 font-sans text-xs">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero section
```html
<section class="bg-[#b5654a] text-[#7a6350] py-16 md:py-24 px-6 md:px-12">
<div class="max-w-4xl mx-auto">
<h1 class="font-semibold text-4xl md:text-5xl lg:text-6xl">
{HEADLINE}
</h1>
<p class="font-sans text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="px-6 py-3 rounded-lg font-medium transition-colors duration-300 bg-[#b5654a] text-[#faf5ef]">
{CTA_TEXT}
</button>
</div>
</section>
```
### Card grid
```html
<section class="bg-[#faf5ef] text-[#7a6350] py-16 md:py-24 px-6 md:px-12">
<div class="max-w-6xl mx-auto">
<h2 class="font-semibold text-2xl md:text-3xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
<!-- Card template - repeat for each card -->
<div class="bg-[#faf5ef] rounded-xl border border-[#d4a373]/25 p-6 md:p-8">
<h3 class="font-semibold text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-sans text-sm md:text-base text-[#d4a373]">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### Form input
```html
<input class="px-4 py-3 bg-white border border-[#d4a373]/40 rounded-lg text-[#7a6350] placeholder-[#d4a373]/50 focus:border-[#b5654a] focus:ring-2 focus:ring-[#b5654a]/20 transition-all duration-300" placeholder="{PLACEHOLDER}" />
```
### Footer
```html
<footer class="bg-white text-[#7a6350]/75 py-16 md:py-24 px-6 md:px-12">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12">
<div>
<span class="font-semibold text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-sans text-xs">{TAGLINE}</p>
</div>
<div>
<h4 class="font-semibold text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-sans text-xs">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Terracotta post-generation self check
**Before returning code, verify every token and rule below. Fix any violation before delivering:**
### Token check
- [ ] Button includes: `px-6 py-3 rounded-lg font-medium transition-colors duration-300`
- [ ] Card includes: `bg-[#faf5ef] rounded-xl border border-[#d4a373]/25`
- [ ] Input includes: `px-4 py-3 bg-white border border-[#d4a373]/40 rounded-lg text-[#7a6350] placeholder-[#d4a373]/50 focus:border-[#b5654a] focus:ring-2 focus:ring-[#b5654a]/20 transition-all duration-300`
### Forbidden check
- [ ] Not using `bg-blue-500`
- [ ] Not using `bg-purple-500`
- [ ] Not using `bg-cyan-500`
- [ ] Not using `bg-indigo-500`
- [ ] Not using `text-black`
- [ ] Not using `bg-black`
- [ ] Not using `rounded-none`
- [ ] Not using `rounded-sm`
### Style rule check
- [ ] Use warm cream backgrounds bg-[#faf5ef]
- [ ] Use terracotta as the primary accent color text-[#b5654a]
- [ ] Rounded corners for handcrafted texture rounded-lg rounded-xl
- [ ] Warm soft shadows shadow-md shadow-[#b5654a]/10
- [ ] Natural comfortable spacing py-20 px-6
### Style drift check
- [ ] Does not violate: Do not use cool tones like blue or purple bg-blue-* bg-purple-*
- [ ] Does not violate: Do not use sharp right angles rounded-none rounded-sm
- [ ] Does not violate: Do not use neon or high-saturation fluorescent colors
- [ ] Does not violate: Do not use heavy pure black text-black bg-black
- [ ] Does not violate: Do not use bounce/spring elastic animations
### Delivery check
- [ ] Responsive layout holds on phone, tablet and desktop with no horizontal overflow
- [ ] Every interactive element has a visible focus state, an accessible name and a reduced-motion path
- [ ] Text contrast meets WCAG AA and colour alone never carries state
- [ ] The result is still recognizable at a glance as Terracotta
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use cool tones like blue or purple bg-blue-* bg-purple-*
- use sharp right angles rounded-none rounded-sm
- use neon or high-saturation fluorescent colors
- use heavy pure black text-black bg-black
- use bounce/spring elastic animations
- use harsh cold-color focus rings
## Self-Check (Verify Before Shipping)
If any item fails, the style has drifted — fix before shipping.
- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] do not use cool tones like blue or purple bg-blue-* bg-purple-*
- [ ] do not use sharp right angles rounded-none rounded-sm
- [ ] do not use neon or high-saturation fluorescent colors
- [ ] do not use heavy pure black text-black bg-black
- [ ] do not use bounce/spring elastic animationsMore prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts
Component Templates
赤陶暖调按钮,温暖圆润
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
51%
Fallback
Dark Mode
0%
MissingUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
Default / Hover / Focus Visible / Active / Disabled
Input
Default / Hover / Focus Visible / Disabled / Error
Card
Default / Hover / Focus Visible / Loading / Skeleton
Form
Default / Focus Visible / Disabled / Loading / Error
FAQ
/* Terracotta Warmth */
:root {
--terracotta-bg: #faf5ef;
--terracotta-primary: #b5654a;
--terracotta-sand: #d4a373;
--terracotta-earth: #7a6350;
--terracotta-olive: #8b9d77;
--terracotta-border: #d4a373;
}
@keyframes terracotta-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes terracotta-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.terracotta-card {
position: relative;
overflow: hidden;
}
.terracotta-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(181, 101, 74, 0.05), transparent);
pointer-events: none;
}
.terracotta-card:hover::before {
opacity: 1;
}
.terracotta-gradient {
background: linear-gradient(135deg, #b5654a, #d4a373);
}
.terracotta-gradient-text {
background: linear-gradient(135deg, #b5654a, #d4a373);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.terracotta-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(181, 101, 74, 0.08);
}
.terracotta-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.terracotta-animate-in {
animation: terracotta-fade-in 0.5s ease-out both;
}Related Styles
Explore these styles for ready-made tokens and components.
IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
Style Pack
Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.
Metadata
Style metadata including version information
Design Tokens
Compatible with Figma / Style Dictionary / Tokens Studio
Tailwind Preset
Tailwind CSS theme preset, import directly in config
Global CSS
CSS variables and base styles
shadcn Theme
shadcn/ui theme configuration
CSS Variables
Pure CSS variables, works with any project
SKILL.md
Loadable skill pack for Cursor / Claude Code / VS Code
Terracotta originates from the millennia-old pottery traditions of the Mediterranean coast, infusing the warm hues of fired earth into digital design.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: D - Poor
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#7a6350 / #faf5ef | 5.2:1 | ||
| Secondary text on background | /#7a6350 / #faf5ef | 5.2:1 | ||
| Muted text on background | /#d4a373 / #faf5ef | 2.09:1 | ||
| Text on secondary background | /#7a6350 / #ffffff | 5.63:1 | ||
| Secondary text on secondary | /#7a6350 / #ffffff | 5.63:1 | ||
| Button primary | /#faf5ef / #b5654a | 3.93:1 | ||
| Text on accent 1 | /#7a6350 / #b5654a | 1.32:1 | ||
| Alt text on accent 1 | /#7a6350 / #b5654a | 1.32:1 | ||
| Text on accent 2 | /#7a6350 / #d4a373 | 2.49:1 | ||
| Alt text on accent 2 | /#7a6350 / #d4a373 | 2.49:1 | ||
| Text on accent 3 | /#7a6350 / #8b9d77 | 1.93:1 | ||
| Alt text on accent 3 | /#7a6350 / #8b9d77 | 1.93:1 |
Readability
Score
85/100
Font Size
text-sm md:text-base
Font Weight
font-semibold
Line Height
default
Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.