PreviewingGo to this paletteOpen in generator
Code
/* Cranberry Jam — colorset.net */
:root {
--color-1: #7B241C;
--color-2: #922B21;
--color-3: #B03A2E;
--color-4: #CB4335;
--color-5: #E74C3C;
--color-bg: #FFF4F2;
--color-surface: #FBE9E6;
--color-border: #E5CFCB;
--color-text: #6F3129;
--color-muted: #81635E;
--color-primary: #D53A2C;
--color-on-primary: #FFFFFF;
--color-accent: #922B21;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #C29A93;
--color-muted: #9A7A75;
--color-primary: #D53A2C;
--color-on-primary: #FFFFFF;
--color-accent: #A54B40;
--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 #E74C3C | adjusted for contrast · from #7B241C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7B241C | adjusted for contrast · from #E74C3C |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CB4335 | adjusted for contrast · from #CB4335 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #B03A2E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.07:1 | AAA pass 4.5:1 | |
| Text on surface | 8.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 8.11:1 | AAA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 7.52:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 5.71:1 | AA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 3.37: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 | #7B241C (Text 1) | #922B21 (Text 2) | #B03A2E (Text 3) | #CB4335 (Text 4) | #E74C3C (Text 5) |
|---|---|---|---|---|---|
| #7B241C | Same color | 1.23— | 1.65— | 2.08— | 2.60— |
| #922B21 | 1.23— | Same color | 1.35— | 1.70— | 2.12— |
| #B03A2E | 1.65— | 1.35— | Same color | 1.26— | 1.57— |
| #CB4335 | 2.08— | 1.70— | 1.26— | Same color | 1.25— |
| #E74C3C | 2.60— | 2.12— | 1.57— | 1.25— | Same color |
Shades
Shades and tints (50–950)
