Inborn for shadcn/ui

Inborn is a shadcn/ui theme built around a deep red primary color (#6c281e) with deep orange accents (#6c4f1e). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the deep red primary (#6c281e) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fcf9f8snow
#030202black
Foreground
#0c0403black
#ffffffwhite
Card
#faf5f5whitesmoke
#070403black
Card foreground
#080302black
#ffffffwhite
Popover
#faf5f5whitesmoke
#070403black
Popover foreground
#080302black
#ffffffwhite
Primary
#6c281esaddlebrown
#6c281esaddlebrown
Primary foreground
#f1d0cbpink
#f1d0cbpink
Secondary
#6c1e3abrown
#6c1e3abrown
Secondary foreground
#f1cbd9pink
#f1cbd9pink
Muted
#f4f0f2whitesmoke
#0f0b0cblack
Muted foreground
#4e4b4cdarkslategray
#b4b1b2darkgray
Accent
#6c4f1esaddlebrown
#6c4f1esaddlebrown
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#bc340bfirebrick
#f25626tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6c281esaddlebrown
#6c281esaddlebrown

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.32:1AAA
Text on card19.03:1AAA
Primary button7.45:1AAA
Secondary button7.58:1AAA
Muted text7.65:1AAA
Accent7.54:1AAA
Destructive5.77:1AA
Dark mode
Text on background20.72:1AAA
Text on card20.45:1AAA
Primary button7.45:1AAA
Secondary button7.58:1AAA
Muted text9.20:1AAA
Accent7.54:1AAA
Destructive3.41:1AA Large

CSS variables

Paste this into your globals.css to use Inborn in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.003 27.949);
  --foreground: oklch(0.124 0.018 33.714);
  --muted: oklch(0.959 0.004 352.709);
  --muted-foreground: oklch(0.416 0.004 352.88);
  --popover: oklch(0.975 0.005 27.958);
  --popover-foreground: oklch(0.108 0.015 33.862);
  --card: oklch(0.975 0.005 27.958);
  --card-foreground: oklch(0.108 0.015 33.862);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.375 0.1 31.026);
  --primary-foreground: oklch(0.884 0.038 28.208);
  --secondary: oklch(0.368 0.113 2.109);
  --secondary-foreground: oklch(0.878 0.046 354.031);
  --accent: oklch(0.449 0.076 78.131);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.529 0.178 35.244);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.375 0.1 31.026);
  --chart-1: oklch(0.375 0.1 31.026);
  --chart-2: oklch(0.368 0.113 2.109);
  --chart-3: oklch(0.449 0.076 78.131);
  --chart-4: oklch(0.396 0.123 2.301);
  --chart-5: oklch(0.376 0.104 31.177);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.007 30.971);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.154 0.007 353.871);
  --muted-foreground: oklch(0.763 0.004 352.718);
  --popover: oklch(0.111 0.009 30.971);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.111 0.009 30.971);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.375 0.1 31.026);
  --primary-foreground: oklch(0.884 0.038 28.208);
  --secondary: oklch(0.368 0.113 2.109);
  --secondary-foreground: oklch(0.878 0.046 354.031);
  --accent: oklch(0.449 0.076 78.131);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.658 0.201 36.507);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.375 0.1 31.026);
  --chart-1: oklch(0.375 0.1 31.026);
  --chart-2: oklch(0.368 0.113 2.109);
  --chart-3: oklch(0.449 0.076 78.131);
  --chart-4: oklch(0.396 0.123 2.301);
  --chart-5: oklch(0.376 0.104 31.177);
}