Reliable is a shadcn/ui theme built around a muted red primary color (#a36c62) with muted light red accents (#ded1ce). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the muted red primary (#a36c62) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf9f8snow | #000000black |
| Foreground | #0c0504black | #ffffffwhite |
| Card | #faf6f5whitesmoke | #030303black |
| Card foreground | #080302black | #ffffffwhite |
| Popover | #faf6f5whitesmoke | #030303black |
| Popover foreground | #080302black | #ffffffwhite |
| Primary | #a36c62indianred | #a36c62indianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #eae7e6linen | #181211black |
| Secondary foreground | #574a47darkolivegreen | #bca49fdarkgray |
| Muted | #e7dcd9gainsboro | #261a18black |
| Muted foreground | #575757dimgray | #a8a8a8darkgray |
| Accent | #ded1celightgrey | #34211dblack |
| Accent foreground | #493531darkslategray | #d3b6b1silver |
| Destructive | #782908saddlebrown | #f0530forangered |
| Destructive foreground | #facbb7peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a36c62indianred | #a36c62indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.24:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 4.29:1 | AA Large |
| Secondary button | 6.87:1 | AA |
| Muted text | 5.37:1 | AA |
| Accent | 7.67:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.29:1 | AA Large |
| Secondary button | 7.89:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 8.01:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Reliable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.003 31.05);
--foreground: oklch(0.126 0.015 36.368);
--muted: oklch(0.902 0.013 31.074);
--muted-foreground: oklch(0.456 0 180);
--popover: oklch(0.975 0.005 31.052);
--popover-foreground: oklch(0.11 0.013 36.492);
--card: oklch(0.975 0.005 31.052);
--card-foreground: oklch(0.11 0.013 36.492);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.587 0.072 31.772);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.929 0.004 31.052);
--secondary-foreground: oklch(0.421 0.018 31.19);
--accent: oklch(0.87 0.016 31.084);
--accent-foreground: oklch(0.351 0.03 31.469);
--destructive: oklch(0.395 0.117 39.922);
--destructive-foreground: oklch(0.879 0.06 44.417);
--ring: oklch(0.587 0.072 31.772);
--chart-1: oklch(0.587 0.072 31.772);
--chart-2: oklch(0.929 0.004 31.052);
--chart-3: oklch(0.87 0.016 31.084);
--chart-4: oklch(0.953 0.003 31.049);
--chart-5: oklch(0.586 0.08 31.911);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.231 0.019 31.448);
--muted-foreground: oklch(0.733 0 180);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.587 0.072 31.772);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.189 0.011 31.255);
--secondary-foreground: oklch(0.737 0.03 31.173);
--accent: oklch(0.271 0.031 31.684);
--accent-foreground: oklch(0.8 0.034 31.183);
--destructive: oklch(0.649 0.204 38.677);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.587 0.072 31.772);
--chart-1: oklch(0.587 0.072 31.772);
--chart-2: oklch(0.189 0.011 31.255);
--chart-3: oklch(0.271 0.031 31.684);
--chart-4: oklch(0.222 0.014 31.301);
--chart-5: oklch(0.586 0.08 31.911);
}