PreviewingGo to this paletteOpen in generator
Code
/* Kernel Panic — colorset.net */
:root {
--color-1: #141012;
--color-2: #F2545B;
--color-3: #A8D672;
--color-4: #2E2729;
--color-5: #F3EEEF;
--color-bg: #F3EEEF;
--color-surface: #F9F6F6;
--color-border: #DDD4D6;
--color-text: #141012;
--color-muted: #686365;
--color-primary: #EE5158;
--color-on-primary: #141012;
--color-accent: #6C9631;
--color-on-accent: #141012;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #141012;
--color-surface: #1E1A1C;
--color-border: #352E31;
--color-text: #F3EEEF;
--color-muted: #8C8788;
--color-primary: #F2545B;
--color-on-primary: #141012;
--color-accent: #A8D672;
--color-on-accent: #141012;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F2545B | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A8D672 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.44:1 | AAA pass 4.5:1 | |
| Text on surface | 17.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.14:1 | AA pass 4.5:1 | |
| Label on primary | 5.35:1 | AA pass 4.5:1 | |
| Label on accent | 5.43:1 | AA pass 4.5:1 | |
| Primary on background | 3.07:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.44:1 | AAA pass 4.5:1 | |
| Text on surface | 14.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.34:1 | AA pass 4.5:1 | |
| Label on primary | 5.57:1 | AA pass 4.5:1 | |
| Label on accent | 11.26:1 | AAA pass 4.5:1 | |
| Primary on background | 5.57:1 | AA pass 3:1 | |
| Accent on background | 11.26:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #141012 (Text 1) | #F2545B (Text 2) | #A8D672 (Text 3) | #2E2729 (Text 4) | #F3EEEF (Text 5) |
|---|---|---|---|---|---|
| #141012 | Same color | 5.57AA | 11.26AAA | 1.29— | 16.44AAA |
| #F2545B | 5.57AA | Same color | 2.02— | 4.31AA Large | 2.95— |
| #A8D672 | 11.26AAA | 2.02— | Same color | 8.71AAA | 1.46— |
| #2E2729 | 1.29— | 4.31AA Large | 8.71AAA | Same color | 12.71AAA |
| #F3EEEF | 16.44AAA | 2.95— | 1.46— | 12.71AAA | Same color |
Shades
Shades and tints (50–950)
