PreviewingGo to this paletteOpen in generator
Code
/* Garnet Jewel — colorset.net */
:root {
--color-1: #5C0011;
--color-2: #7A001F;
--color-3: #9A0036;
--color-4: #B9154D;
--color-5: #D93964;
--color-bg: #FFF4F5;
--color-surface: #FBE8EA;
--color-border: #E5CFD1;
--color-text: #521519;
--color-muted: #806160;
--color-primary: #D53561;
--color-on-primary: #FFFFFF;
--color-accent: #7A001F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281312;
--color-border: #402625;
--color-text: #C49A9F;
--color-muted: #9A7A7E;
--color-primary: #D53561;
--color-on-primary: #FFFFFF;
--color-accent: #A3484A;
--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 | adjusted for contrast · from #D93964 | adjusted for contrast · from #5C0011 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5C0011 | adjusted for contrast · from #D93964 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D93964 | adjusted for contrast · from #D93964 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #B9154D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.18:1 | AAA pass 4.5:1 | |
| Text on surface | 12.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.14:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 11.37:1 | AAA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 10.56:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.86:1 | AA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #5C0011 (Text 1) | #7A001F (Text 2) | #9A0036 (Text 3) | #B9154D (Text 4) | #D93964 (Text 5) |
|---|---|---|---|---|---|
| #5C0011 | Same color | 1.26— | 1.66— | 2.24— | 3.23AA Large |
| #7A001F | 1.26— | Same color | 1.31— | 1.77— | 2.55— |
| #9A0036 | 1.66— | 1.31— | Same color | 1.35— | 1.94— |
| #B9154D | 2.24— | 1.77— | 1.35— | Same color | 1.44— |
| #D93964 | 3.23AA Large | 2.55— | 1.94— | 1.44— | Same color |
Shades
Shades and tints (50–950)
