Generate feedback colors (success, warning, error, and info) for shadcn/ui
Go to generatorUsed by 4k+ developers. Want me to build your product next? Let's work together.
Aware is a shadcn/ui theme built around a vivid deep pink primary color (#4a0727) with muted light pink accents (#d0c3c9). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid deep pink primary (#4a0727) on a pink-tinted background (#0b0507).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #0b0507black |
| Foreground | #040102black | #f8f6f7whitesmoke |
| Card | #fcf8fasnow | #0b0507black |
| Card foreground | #040102black | #f8f6f7whitesmoke |
| Popover | #fcf8fasnow | #0b0507black |
| Popover foreground | #040102black | #f8f6f7whitesmoke |
| Primary | #4a0727maroon | #4a0727maroon |
| Primary foreground | #f490belightpink | #f490belightpink |
| Secondary | #e2dfe0gainsboro | #372f33darkslategray |
| Secondary foreground | #4c4347darkslategray | #d0c8cclightgrey |
| Muted | #f4f1f2whitesmoke | #0e0b0dblack |
| Muted foreground | #52474cdarkslategray | #b8adb2darkgray |
| Accent | #d0c3c9thistle | #49373fdarkslategray |
| Accent foreground | #362b30darkslategray | #ded3d8gainsboro |
| Destructive | #881106darkred | #db1c0ared |
| Destructive foreground | #fcc9c5pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4a0727maroon | #4a0727maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 7.89:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 18.81:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 8.99:1 | AAA |
| Accent | 7.60:1 | AAA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use Aware in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 347.044);
--foreground: oklch(0.083 0.019 346.582);
--muted: oklch(0.96 0.004 347.022);
--muted-foreground: oklch(0.411 0.016 347.958);
--popover: oklch(0.982 0.005 347.044);
--popover-foreground: oklch(0.083 0.019 346.582);
--card: oklch(0.982 0.005 347.044);
--card-foreground: oklch(0.083 0.019 346.582);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.274 0.1 358.584);
--primary-foreground: oklch(0.771 0.133 351.236);
--secondary: oklch(0.906 0.005 347.044);
--secondary-foreground: oklch(0.393 0.013 347.798);
--accent: oklch(0.83 0.017 347.437);
--accent-foreground: oklch(0.303 0.019 348.562);
--destructive: oklch(0.403 0.154 30.17);
--destructive-foreground: oklch(0.88 0.059 24.357);
--ring: oklch(0.274 0.1 358.584);
--chart-1: oklch(0.274 0.1 358.584);
--chart-2: oklch(0.906 0.005 347.044);
--chart-3: oklch(0.83 0.017 347.437);
--chart-4: oklch(0.929 0.003 347.006);
--chart-5: oklch(0.275 0.103 359.024);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.016 346.767);
--foreground: oklch(0.976 0.003 346.98);
--muted: oklch(0.155 0.007 348.007);
--muted-foreground: oklch(0.759 0.014 347.401);
--popover: oklch(0.125 0.016 346.767);
--popover-foreground: oklch(0.976 0.003 346.98);
--card: oklch(0.125 0.016 346.767);
--card-foreground: oklch(0.976 0.003 346.98);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.274 0.1 358.584);
--primary-foreground: oklch(0.771 0.133 351.236);
--secondary: oklch(0.316 0.012 347.883);
--secondary-foreground: oklch(0.841 0.009 347.198);
--accent: oklch(0.359 0.029 348.949);
--accent-foreground: oklch(0.878 0.014 347.319);
--destructive: oklch(0.569 0.222 30.067);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.274 0.1 358.584);
--chart-1: oklch(0.274 0.1 358.584);
--chart-2: oklch(0.316 0.012 347.883);
--chart-3: oklch(0.359 0.029 348.949);
--chart-4: oklch(0.345 0.013 347.911);
--chart-5: oklch(0.275 0.103 359.024);
}