PreviewingGo to this paletteOpen in generator
Code
/* Penthouse Night — colorset.net */
:root {
--color-1: #14110D;
--color-2: #DEB866;
--color-3: #6B89A9;
--color-4: #AF8E2A;
--color-5: #F1EEE7;
--color-bg: #F1EEE7;
--color-surface: #F7F5F1;
--color-border: #DAD5CB;
--color-text: #14110D;
--color-muted: #67635E;
--color-primary: #A6851D;
--color-on-primary: #14110D;
--color-accent: #6B89A9;
--color-on-accent: #14110D;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #14110D;
--color-surface: #1E1B17;
--color-border: #352F28;
--color-text: #F1EEE7;
--color-muted: #8A8881;
--color-primary: #AF8E2A;
--color-on-primary: #14110D;
--color-accent: #6B89A9;
--color-on-accent: #14110D;
}
}
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 #AF8E2A | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.24:1 | AAA pass 4.5:1 | |
| Text on surface | 17.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.14:1 | AA pass 4.5:1 | |
| Label on primary | 5.37:1 | AA pass 4.5:1 | |
| Label on accent | 5.18:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.14:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.24:1 | AAA pass 4.5:1 | |
| Text on surface | 14.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 6.03:1 | AA pass 4.5:1 | |
| Label on accent | 5.18:1 | AA pass 4.5:1 | |
| Primary on background | 6.03:1 | AA pass 3:1 | |
| Accent on background | 5.18:1 | AA 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 | #14110D (Text 1) | #DEB866 (Text 2) | #6B89A9 (Text 3) | #AF8E2A (Text 4) | #F1EEE7 (Text 5) |
|---|---|---|---|---|---|
| #14110D | Same color | 10.00AAA | 5.18AA | 6.03AA | 16.24AAA |
| #DEB866 | 10.00AAA | Same color | 1.93— | 1.66— | 1.62— |
| #6B89A9 | 5.18AA | 1.93— | Same color | 1.16— | 3.14AA Large |
| #AF8E2A | 6.03AA | 1.66— | 1.16— | Same color | 2.69— |
| #F1EEE7 | 16.24AAA | 1.62— | 3.14AA Large | 2.69— | Same color |
Shades
Shades and tints (50–950)
