Rimi test for shadcn/ui

Rimi test is a shadcn/ui theme built around a pink primary color (#a12971) with muted light cyan accents (#e4ebed). The light mode uses a cyan-tinted background (#f2f6f7). Dark mode keeps the pink primary (#bb3083) on a cyan-tinted background (#0b1214).

Color palette

TokenLightDark
Background
#f2f6f7whitesmoke
#0b1214black
Foreground
#363d40darkslategray
#b5bcbfsilver
Card
#ffffffwhite
#0d0707black
Card foreground
#363d40darkslategray
#c3c8cbsilver
Popover
#f0f2f4whitesmoke
#05070ablack
Popover foreground
#44474bdarkslategray
#d7d5d1lightgrey
Primary
#a12971mediumvioletred
#bb3083mediumvioletred
Primary foreground
#f2f6f7whitesmoke
#eff4f5whitesmoke
Secondary
#04a190darkcyan
#05b3a2lightseagreen
Secondary foreground
#f2f6f5whitesmoke
#f0f5f3whitesmoke
Muted
#e4ebedlavender
#22252bdarkslategray
Muted foreground
#434d56darkslategray
#9ba2b0darkgray
Accent
#e4ebedlavender
#263e45darkslategray
Accent foreground
#313b45darkslategray
#c0cfddlightsteelblue
Destructive
#b61c0efirebrick
#f5433dtomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e4ebedlavender
#171a21black
Input
#e4e6e7gainsboro
#1d212ablack
Ring
#ffaa33goldenrod
#e6b451sandybrown

Contrast

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

Light mode
Text on background10.16:1AAA
Text on card11.06:1AAA
Primary button6.28:1AA
Secondary button2.96:1Fail
Muted text7.14:1AAA
Accent9.44:1AAA
Destructive6.62:1AA
Dark mode
Text on background9.80:1AAA
Text on card11.82:1AAA
Primary button4.91:1AA
Secondary button2.39:1Fail
Muted text6.00:1AA
Accent7.08:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.97 0.004 214.329);
  --foreground: oklch(0.355 0.011 225.363);
  --muted: oklch(0.935 0.008 216.62);
  --muted-foreground: oklch(0.414 0.019 248.296);
  --popover: oklch(0.961 0.004 247.862);
  --popover-foreground: oklch(0.397 0.008 248.02);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.355 0.011 225.363);
  --border: oklch(0.935 0.008 216.62);
  --input: oklch(0.923 0.003 247.857);
  --primary: oklch(0.492 0.171 348.433);
  --primary-foreground: oklch(0.97 0.004 214.329);
  --secondary: oklch(0.636 0.114 181.847);
  --secondary-foreground: oklch(0.97 0.004 179.735);
  --accent: oklch(0.935 0.008 216.62);
  --accent-foreground: oklch(0.346 0.022 248.464);
  --destructive: oklch(0.499 0.19 30.087);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.803 0.159 69.809);
  --chart-1: oklch(0.492 0.171 348.433);
  --chart-2: oklch(0.636 0.114 181.847);
  --chart-3: oklch(0.935 0.008 216.62);
  --chart-4: oklch(0.679 0.121 181.768);
  --chart-5: oklch(0.495 0.176 348.857);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.177 0.012 214.783);
  --foreground: oklch(0.791 0.009 225.106);
  --muted: oklch(0.263 0.012 264.338);
  --muted-foreground: oklch(0.712 0.022 264.424);
  --popover: oklch(0.127 0.008 260.757);
  --popover-foreground: oklch(0.874 0.007 93.946);
  --card: oklch(0.139 0.011 18.603);
  --card-foreground: oklch(0.831 0.007 225.076);
  --border: oklch(0.219 0.015 264.197);
  --input: oklch(0.249 0.018 264.158);
  --primary: oklch(0.548 0.191 348.518);
  --primary-foreground: oklch(0.964 0.005 214.332);
  --secondary: oklch(0.689 0.122 182.713);
  --secondary-foreground: oklch(0.965 0.005 179.715);
  --accent: oklch(0.348 0.032 217.124);
  --accent-foreground: oklch(0.847 0.025 248.122);
  --destructive: oklch(0.645 0.215 27.143);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.798 0.129 82.218);
  --chart-1: oklch(0.548 0.191 348.518);
  --chart-2: oklch(0.689 0.122 182.713);
  --chart-3: oklch(0.348 0.032 217.124);
  --chart-4: oklch(0.731 0.13 182.652);
  --chart-5: oklch(0.551 0.198 348.95);
}