PreviewingGo to this paletteOpen in generator
Code
/* Garnet Promise — colorset.net */
:root {
--color-1: #12080C;
--color-2: #B3123F;
--color-3: #E8C07D;
--color-4: #30121C;
--color-5: #F3E7E4;
--color-bg: #F3E7E4;
--color-surface: #F7EFEE;
--color-border: #DDCDC9;
--color-text: #12080C;
--color-muted: #675A5F;
--color-primary: #B3123F;
--color-on-primary: #FFFFFF;
--color-accent: #95702C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #12080C;
--color-surface: #1C1216;
--color-border: #33242A;
--color-text: #F3E7E4;
--color-muted: #8A7F7D;
--color-primary: #BE2247;
--color-on-primary: #FFFFFF;
--color-accent: #E8C07D;
--color-on-accent: #12080C;
}
}
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 #B3123F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B3123F | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.29:1 | AAA pass 4.5:1 | |
| Text on surface | 17.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 6.83:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 5.65:1 | AA pass 3:1 | |
| Accent on background | 3.75:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.29:1 | AAA pass 4.5:1 | |
| Text on surface | 15.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 11.51:1 | AAA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 11.51: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 | #12080C (Text 1) | #B3123F (Text 2) | #E8C07D (Text 3) | #30121C (Text 4) | #F3E7E4 (Text 5) |
|---|---|---|---|---|---|
| #12080C | Same color | 2.89— | 11.51AAA | 1.15— | 16.29AAA |
| #B3123F | 2.89— | Same color | 3.99AA Large | 2.50— | 5.65AA |
| #E8C07D | 11.51AAA | 3.99AA Large | Same color | 9.98AAA | 1.42— |
| #30121C | 1.15— | 2.50— | 9.98AAA | Same color | 14.13AAA |
| #F3E7E4 | 16.29AAA | 5.65AA | 1.42— | 14.13AAA | Same color |
Shades
Shades and tints (50–950)
