PreviewingGo to this paletteOpen in generator
Code
/* Mirage — colorset.net */
:root {
--color-1: #FBF2E6;
--color-2: #E09B67;
--color-3: #7FA8C9;
--color-4: #F2DCC4;
--color-5: #2C2A33;
--color-bg: #FBF2E6;
--color-surface: #FFFAF3;
--color-border: #E4D9CA;
--color-text: #2C2A33;
--color-muted: #706E79;
--color-primary: #BF7C49;
--color-on-primary: #000000;
--color-accent: #678FAF;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F12;
--color-surface: #1A191C;
--color-border: #2E2D33;
--color-text: #FBF2E6;
--color-muted: #90887D;
--color-primary: #E09B67;
--color-on-primary: #100F12;
--color-accent: #7FA8C9;
--color-on-accent: #100F12;
}
}
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 1 | adjusted for contrast · from #2C2A33 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E09B67 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7FA8C9 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.75:1 | AAA pass 4.5:1 | |
| Text on surface | 13.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 6.19:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 3.09:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.24:1 | AAA pass 4.5:1 | |
| Text on surface | 15.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 8.24:1 | AAA pass 4.5:1 | |
| Label on accent | 7.59:1 | AAA pass 4.5:1 | |
| Primary on background | 8.24:1 | AAA pass 3:1 | |
| Accent on background | 7.59: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 | #FBF2E6 (Text 1) | #E09B67 (Text 2) | #7FA8C9 (Text 3) | #F2DCC4 (Text 4) | #2C2A33 (Text 5) |
|---|---|---|---|---|---|
| #FBF2E6 | Same color | 2.09— | 2.27— | 1.20— | 12.75AAA |
| #E09B67 | 2.09— | Same color | 1.08— | 1.75— | 6.09AA |
| #7FA8C9 | 2.27— | 1.08— | Same color | 1.89— | 5.62AA |
| #F2DCC4 | 1.20— | 1.75— | 1.89— | Same color | 10.64AAA |
| #2C2A33 | 12.75AAA | 6.09AA | 5.62AA | 10.64AAA | Same color |
Shades
Shades and tints (50–950)
