PreviewingGo to this paletteOpen in generator
Code
/* Pixel Colors — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #228B22;
--color-3: #1E90FF;
--color-4: #FF4500;
--color-5: #9932CC;
--color-bg: #FFF4F1;
--color-surface: #FAE9E4;
--color-border: #E5D0CA;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #9932CC;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #C29A90;
--color-muted: #997B73;
--color-primary: #9932CC;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #1E90FF | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | adjusted for contrast · from #FF4500 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 5.28:1 | AA pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 4.21:1 | AA Large 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 | #8B4513 (Text 1) | #228B22 (Text 2) | #1E90FF (Text 3) | #FF4500 (Text 4) | #9932CC (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Same color | 1.62— | 2.19— | 2.06— | 1.24— |
| #228B22 | 1.62— | Same color | 1.36— | 1.28— | 1.30— |
| #1E90FF | 2.19— | 1.36— | Same color | 1.06— | 1.76— |
| #FF4500 | 2.06— | 1.28— | 1.06— | Same color | 1.66— |
| #9932CC | 1.24— | 1.30— | 1.76— | 1.66— | Same color |
Shades
Shades and tints (50–950)
