PreviewingGo to this paletteOpen in generator
Code
/* Opera House — colorset.net */
:root {
--color-1: #1B0F12;
--color-2: #C0283E;
--color-3: #E3C27A;
--color-4: #3A1F25;
--color-5: #F5ECE1;
--color-bg: #F5ECE1;
--color-surface: #F9F4ED;
--color-border: #DED3C5;
--color-text: #1B0F12;
--color-muted: #706064;
--color-primary: #C0283E;
--color-on-primary: #FFFFFF;
--color-accent: #907228;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0F12;
--color-surface: #26191C;
--color-border: #3E2C31;
--color-text: #F5ECE1;
--color-muted: #8F877D;
--color-primary: #C42C41;
--color-on-primary: #FFFFFF;
--color-accent: #E3C27A;
--color-on-accent: #1B0F12;
}
}
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 | from palette · color 2 | adjusted for contrast · from #C0283E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C0283E | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.99:1 | AAA pass 4.5:1 | |
| Text on surface | 17.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.81:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 4.97:1 | AA pass 3:1 | |
| Accent on background | 3.89:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.99:1 | AAA pass 4.5:1 | |
| Text on surface | 14.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 5.55:1 | AA pass 4.5:1 | |
| Label on accent | 10.91:1 | AAA pass 4.5:1 | |
| Primary on background | 3.37:1 | AA Large pass 3:1 | |
| Accent on background | 10.91: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 | #1B0F12 (Text 1) | #C0283E (Text 2) | #E3C27A (Text 3) | #3A1F25 (Text 4) | #F5ECE1 (Text 5) |
|---|---|---|---|---|---|
| #1B0F12 | Same color | 3.22AA Large | 10.91AAA | 1.25— | 15.99AAA |
| #C0283E | 3.22AA Large | Same color | 3.39AA Large | 2.58— | 4.97AA |
| #E3C27A | 10.91AAA | 3.39AA Large | Same color | 8.74AAA | 1.47— |
| #3A1F25 | 1.25— | 2.58— | 8.74AAA | Same color | 12.81AAA |
| #F5ECE1 | 15.99AAA | 4.97AA | 1.47— | 12.81AAA | Same color |
Shades
Shades and tints (50–950)
