PreviewingGo to this paletteOpen in generator
Code
/* Gallery Hush — colorset.net */
:root {
--color-1: #F7F6F3;
--color-2: #1F3A5F;
--color-3: #C8553D;
--color-4: #A8A39A;
--color-5: #1B1B1A;
--color-bg: #F7F6F3;
--color-surface: #EEEDEA;
--color-border: #D6D4CE;
--color-text: #1B1B1A;
--color-muted: #6B6B6A;
--color-primary: #C5523A;
--color-on-primary: #FFFFFF;
--color-accent: #1F3A5F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B1B1A;
--color-surface: #262625;
--color-border: #3B3B37;
--color-text: #F7F6F3;
--color-muted: #92918F;
--color-primary: #C5523A;
--color-on-primary: #FFFFFF;
--color-accent: #55729B;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8553D | adjusted for contrast · from #C8553D |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #A8A39A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.95:1 | AAA pass 4.5:1 | |
| Text on surface | 14.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 11.48:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 10.63:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.95:1 | AAA pass 4.5:1 | |
| Text on surface | 14.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 4.92:1 | AA pass 4.5:1 | |
| Primary on background | 3.81:1 | AA Large pass 3:1 | |
| Accent on background | 3.50: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 | #F7F6F3 (Text 1) | #1F3A5F (Text 2) | #C8553D (Text 3) | #A8A39A (Text 4) | #1B1B1A (Text 5) |
|---|---|---|---|---|---|
| #F7F6F3 | Same color | 10.63AAA | 4.03AA Large | 2.32— | 15.95AAA |
| #1F3A5F | 10.63AAA | Same color | 2.64— | 4.58AA | 1.50— |
| #C8553D | 4.03AA Large | 2.64— | Same color | 1.74— | 3.96AA Large |
| #A8A39A | 2.32— | 4.58AA | 1.74— | Same color | 6.87AA |
| #1B1B1A | 15.95AAA | 1.50— | 3.96AA Large | 6.87AA | Same color |
Shades
Shades and tints (50–950)
