PreviewingGo to this paletteOpen in generator
Code
/* Garnet Stone — colorset.net */
:root {
--color-1: #733635;
--color-2: #874A49;
--color-3: #9B5E5D;
--color-4: #AF7271;
--color-5: #C38685;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #733635;
--color-muted: #816361;
--color-primary: #9B5E5D;
--color-on-primary: #FFFFFF;
--color-accent: #B37776;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0908;
--color-surface: #271312;
--color-border: #402625;
--color-text: #C39998;
--color-muted: #9A7A79;
--color-primary: #9B5E5D;
--color-on-primary: #FFFFFF;
--color-accent: #AF7271;
--color-on-accent: #1C0908;
}
}
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 | adjusted for contrast · from #C38685 | adjusted for contrast · from #733635 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #C38685 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AF7271 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.44:1 | AAA pass 4.5:1 | |
| Text on surface | 7.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.06:1 | AA pass 4.5:1 | |
| Label on accent | 5.82:1 | AA pass 4.5:1 | |
| Primary on background | 4.69:1 | AA pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.06:1 | AA pass 4.5:1 | |
| Label on accent | 5.01:1 | AA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 5.01: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 | #733635 (Text 1) | #874A49 (Text 2) | #9B5E5D (Text 3) | #AF7271 (Text 4) | #C38685 (Text 5) |
|---|---|---|---|---|---|
| #733635 | Same color | 1.35— | 1.80— | 2.37— | 3.06AA Large |
| #874A49 | 1.35— | Same color | 1.34— | 1.76— | 2.28— |
| #9B5E5D | 1.80— | 1.34— | Same color | 1.32— | 1.70— |
| #AF7271 | 2.37— | 1.76— | 1.32— | Same color | 1.29— |
| #C38685 | 3.06AA Large | 2.28— | 1.70— | 1.29— | Same color |
Shades
Shades and tints (50–950)
