Imperial Coral Rose is a shadcn/ui theme built around a vivid orange primary color (#f2744a) with muted light orange accents (#e0d9d6). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the vivid orange primary (#f2744a) on an orange-tinted background (#0f0805).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf9f8snow | #0f0805black |
| Foreground | #100805black | #fdfcfcsnow |
| Card | #fcf9f8snow | #0f0805black |
| Card foreground | #100805black | #fdfcfcsnow |
| Popover | #fcf9f8snow | #0f0805black |
| Popover foreground | #100805black | #fdfcfcsnow |
| Primary | #f2744acoral | #f2744acoral |
| Primary foreground | #0a0301black | #0a0301black |
| Secondary | #e0d9d6gainsboro | #23201fblack |
| Secondary foreground | #4c3e39darkslategray | #beb8b6silver |
| Muted | #f4eae7linen | #180f0bblack |
| Muted foreground | #544540darkslategray | #bfb0abdarkgray |
| Accent | #e0d9d6gainsboro | #23201fblack |
| Accent foreground | #4c3e39darkslategray | #beb8b6silver |
| Destructive | #bd2514firebrick | #eb5342tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eceae9linen | #211e1cblack |
| Input | #eceae9linen | #211e1cblack |
| Ring | #f2744acoral | #f2744acoral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.90:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 7.32:1 | AAA |
| Muted text | 7.70:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 9.01:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Imperial Coral Rose in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.004 39.48);
--foreground: oklch(0.143 0.017 44.279);
--muted: oklch(0.943 0.012 39.432);
--muted-foreground: oklch(0.404 0.023 39.269);
--popover: oklch(0.984 0.004 39.48);
--popover-foreground: oklch(0.143 0.017 44.279);
--card: oklch(0.984 0.004 39.48);
--card-foreground: oklch(0.143 0.017 44.279);
--border: oklch(0.938 0.003 39.49);
--input: oklch(0.938 0.003 39.49);
--primary: oklch(0.701 0.166 38.767);
--primary-foreground: oklch(0.11 0.022 53.309);
--secondary: oklch(0.89 0.009 39.445);
--secondary-foreground: oklch(0.376 0.021 39.271);
--accent: oklch(0.89 0.009 39.445);
--accent-foreground: oklch(0.376 0.021 39.271);
--destructive: oklch(0.519 0.19 30.512);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.701 0.166 38.767);
--chart-1: oklch(0.701 0.166 38.767);
--chart-2: oklch(0.89 0.009 39.445);
--chart-3: oklch(0.89 0.009 39.445);
--chart-4: oklch(0.914 0.007 39.459);
--chart-5: oklch(0.702 0.171 38.687);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.016 43.897);
--foreground: oklch(0.992 0.001 39.5);
--muted: oklch(0.179 0.018 39.214);
--muted-foreground: oklch(0.768 0.019 39.368);
--popover: oklch(0.143 0.016 43.897);
--popover-foreground: oklch(0.992 0.001 39.5);
--card: oklch(0.143 0.016 43.897);
--card-foreground: oklch(0.992 0.001 39.5);
--border: oklch(0.236 0.005 39.379);
--input: oklch(0.236 0.005 39.379);
--primary: oklch(0.701 0.166 38.767);
--primary-foreground: oklch(0.11 0.022 53.309);
--secondary: oklch(0.247 0.005 39.392);
--secondary-foreground: oklch(0.787 0.008 39.447);
--accent: oklch(0.247 0.005 39.392);
--accent-foreground: oklch(0.787 0.008 39.447);
--destructive: oklch(0.645 0.191 29.567);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.701 0.166 38.767);
--chart-1: oklch(0.701 0.166 38.767);
--chart-2: oklch(0.247 0.005 39.392);
--chart-3: oklch(0.247 0.005 39.392);
--chart-4: oklch(0.279 0.006 39.387);
--chart-5: oklch(0.702 0.171 38.687);
}