PreviewingGo to this paletteOpen in generator
Code
/* Hope Dark — colorset.net */
:root {
--color-1: #14161F;
--color-2: #FFC145;
--color-3: #FF6B6B;
--color-4: #2A2D3B;
--color-5: #F1F2F6;
--color-bg: #F1F2F6;
--color-surface: #F9F9FC;
--color-border: #D7D9E1;
--color-text: #14161F;
--color-muted: #666974;
--color-primary: #ED5B5C;
--color-on-primary: #14161F;
--color-accent: #B38100;
--color-on-accent: #14161F;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #14161F;
--color-surface: #1E202A;
--color-border: #323542;
--color-text: #F1F2F6;
--color-muted: #8C8D90;
--color-primary: #FF6B6B;
--color-on-primary: #14161F;
--color-accent: #FFC145;
--color-on-accent: #14161F;
}
}
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 #FF6B6B | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF6B6B | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.12:1 | AAA pass 4.5:1 | |
| Text on surface | 17.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 5.37:1 | AA pass 4.5:1 | |
| Label on accent | 5.20:1 | AA pass 4.5:1 | |
| Primary on background | 3.00:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.12:1 | AAA pass 4.5:1 | |
| Text on surface | 14.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.43:1 | AA pass 4.5:1 | |
| Label on primary | 6.50:1 | AA pass 4.5:1 | |
| Label on accent | 11.14:1 | AAA pass 4.5:1 | |
| Primary on background | 6.50:1 | AA pass 3:1 | |
| Accent on background | 11.14: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 | #14161F (Text 1) | #FFC145 (Text 2) | #FF6B6B (Text 3) | #2A2D3B (Text 4) | #F1F2F6 (Text 5) |
|---|---|---|---|---|---|
| #14161F | Same color | 11.14AAA | 6.50AA | 1.32— | 16.12AAA |
| #FFC145 | 11.14AAA | Same color | 1.71— | 8.44AAA | 1.45— |
| #FF6B6B | 6.50AA | 1.71— | Same color | 4.92AA | 2.48— |
| #2A2D3B | 1.32— | 8.44AAA | 4.92AA | Same color | 12.21AAA |
| #F1F2F6 | 16.12AAA | 1.45— | 2.48— | 12.21AAA | Same color |
Shades
Shades and tints (50–950)
