Masculine is a shadcn/ui theme built around a deep pink primary color (#3c1622) with deep red accents (#3c1d16). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the deep pink primary (#3c1622) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #000000black |
| Foreground | #040102black | #f9f6f7whitesmoke |
| Card | #fcf8f9snow | #030303black |
| Card foreground | #000000black | #fbf9fasnow |
| Popover | #fdfcfcsnow | #000000black |
| Popover foreground | #040102black | #f9f6f7whitesmoke |
| Primary | #3c1622black | #3c1622black |
| Primary foreground | #dea6b7lightpink | #dea6b7lightpink |
| Secondary | #3c1635darkslategray | #3c1635darkslategray |
| Secondary foreground | #dea6d4plum | #dea6d4plum |
| Muted | #e7dae5gainsboro | #251823black |
| Muted foreground | #675163dimgray | #ae98aadarkgray |
| Accent | #3c1d16black | #3c1d16black |
| Accent foreground | #deb0a6tan | #deb0a6tan |
| Destructive | #8f0904darkred | #ed0f07red |
| Destructive foreground | #fdcac9pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c1622black | #3c1622black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.25:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 5.29:1 | AA |
| Accent | 7.89:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 7.71:1 | AAA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 7.89:1 | AAA |
| Destructive | 4.47:1 | AA Large |
Paste this into your globals.css to use Masculine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 355.678);
--foreground: oklch(0.083 0.016 355.261);
--muted: oklch(0.901 0.021 331.731);
--muted-foreground: oklch(0.463 0.04 332.582);
--popover: oklch(0.991 0.002 355.678);
--popover-foreground: oklch(0.083 0.016 355.261);
--card: oklch(0.982 0.004 355.742);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.262 0.061 2.292);
--primary-foreground: oklch(0.782 0.07 358.084);
--secondary: oklch(0.271 0.074 334.996);
--secondary-foreground: oklch(0.791 0.089 332.925);
--accent: oklch(0.271 0.05 33.675);
--accent-foreground: oklch(0.796 0.056 32.854);
--destructive: oklch(0.413 0.164 29.359);
--destructive-foreground: oklch(0.884 0.058 20.616);
--ring: oklch(0.262 0.061 2.292);
--chart-1: oklch(0.262 0.061 2.292);
--chart-2: oklch(0.271 0.074 334.996);
--chart-3: oklch(0.271 0.05 33.675);
--chart-4: oklch(0.301 0.085 335.127);
--chart-5: oklch(0.262 0.064 2.79);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.003 355.714);
--muted: oklch(0.23 0.029 333.09);
--muted-foreground: oklch(0.705 0.036 332.115);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.003 355.714);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.002 355.681);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.262 0.061 2.292);
--primary-foreground: oklch(0.782 0.07 358.084);
--secondary: oklch(0.271 0.074 334.996);
--secondary-foreground: oklch(0.791 0.089 332.925);
--accent: oklch(0.271 0.05 33.675);
--accent-foreground: oklch(0.796 0.056 32.854);
--destructive: oklch(0.598 0.241 29.324);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.262 0.061 2.292);
--chart-1: oklch(0.262 0.061 2.292);
--chart-2: oklch(0.271 0.074 334.996);
--chart-3: oklch(0.271 0.05 33.675);
--chart-4: oklch(0.301 0.085 335.127);
--chart-5: oklch(0.262 0.064 2.79);
}