Penguin for shadcn/ui

Penguin is a shadcn/ui theme built around a vivid light pink primary color (#fdc4d6) with vivid light red accents (#fdcec4). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the vivid light pink primary (#fdc4d6) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fcf8f9snow
#030202black
Foreground
#040102black
#ffffffwhite
Card
#fcf8f9snow
#030202black
Card foreground
#040102black
#ffffffwhite
Popover
#fcf8f9snow
#030202black
Popover foreground
#040102black
#ffffffwhite
Primary
#fdc4d6pink
#fdc4d6pink
Primary foreground
#8a052fbrown
#8a052fbrown
Secondary
#fdc4f2mistyrose
#fdc4f2mistyrose
Secondary foreground
#8a0571purple
#8a0571purple
Muted
#e6e0e5gainsboro
#1f191eblack
Muted foreground
#524c51darkslategray
#b3adb2darkgray
Accent
#fdcec4pink
#fdcec4pink
Accent foreground
#8a1d05darkred
#8a1d05darkred
Destructive
#8e2601saddlebrown
#f44201orangered
Destructive foreground
#ffd2c2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fdc4d6pink
#fdc4d6pink

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button6.54:1AA
Secondary button6.13:1AA
Muted text6.43:1AA
Accent6.56:1AA
Destructive6.26:1AA
Dark mode
Text on background20.73:1AAA
Text on card20.73:1AAA
Primary button6.54:1AA
Secondary button6.13:1AA
Muted text7.83:1AAA
Accent6.56:1AA
Destructive3.74:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 355.756);
  --foreground: oklch(0.081 0.02 355.172);
  --muted: oklch(0.913 0.009 331.541);
  --muted-foreground: oklch(0.424 0.012 331.796);
  --popover: oklch(0.982 0.005 355.756);
  --popover-foreground: oklch(0.081 0.02 355.172);
  --card: oklch(0.982 0.005 355.756);
  --card-foreground: oklch(0.081 0.02 355.172);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.876 0.069 357.782);
  --primary-foreground: oklch(0.405 0.159 13.349);
  --secondary: oklch(0.885 0.088 332.75);
  --secondary-foreground: oklch(0.431 0.185 338.427);
  --accent: oklch(0.89 0.055 32.81);
  --accent-foreground: oklch(0.415 0.147 33.263);
  --destructive: oklch(0.432 0.145 36.705);
  --destructive-foreground: oklch(0.898 0.055 40.964);
  --ring: oklch(0.876 0.069 357.782);
  --chart-1: oklch(0.876 0.069 357.782);
  --chart-2: oklch(0.885 0.088 332.75);
  --chart-3: oklch(0.89 0.055 32.81);
  --chart-4: oklch(0.913 0.066 332.39);
  --chart-5: oklch(0.875 0.071 357.854);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.009 355.432);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.223 0.012 332.166);
  --muted-foreground: oklch(0.754 0.01 331.598);
  --popover: oklch(0.087 0.009 355.432);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.087 0.009 355.432);
  --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.876 0.069 357.782);
  --primary-foreground: oklch(0.405 0.159 13.349);
  --secondary: oklch(0.885 0.088 332.75);
  --secondary-foreground: oklch(0.431 0.185 338.427);
  --accent: oklch(0.89 0.055 32.81);
  --accent-foreground: oklch(0.415 0.147 33.263);
  --destructive: oklch(0.638 0.221 35.401);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.876 0.069 357.782);
  --chart-1: oklch(0.876 0.069 357.782);
  --chart-2: oklch(0.885 0.088 332.75);
  --chart-3: oklch(0.89 0.055 32.81);
  --chart-4: oklch(0.913 0.066 332.39);
  --chart-5: oklch(0.875 0.071 357.854);
}