PreviewingGo to this paletteOpen in generator
Code
/* Cranberry — colorset.net */
:root {
--color-1: #C73E1D;
--color-2: #DB5034;
--color-3: #E6674A;
--color-4: #F0815F;
--color-5: #CC4529;
--color-bg: #FFF4F1;
--color-surface: #FAE9E4;
--color-border: #E5D0C9;
--color-text: #793B2D;
--color-muted: #81635C;
--color-primary: #CC4529;
--color-on-primary: #FFFFFF;
--color-accent: #871A00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0905;
--color-surface: #27130E;
--color-border: #402620;
--color-text: #C59D91;
--color-muted: #987A71;
--color-primary: #CC4529;
--color-on-primary: #FFFFFF;
--color-accent: #F0815F;
--color-on-accent: #1C0905;
}
}
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 #F0815F | adjusted for contrast · from #C73E1D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C73E1D | adjusted for contrast · from #F0815F |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C73E1D | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.72:1 | AA pass 4.5:1 | |
| Label on accent | 9.64:1 | AAA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 8.94:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.72:1 | AA pass 4.5:1 | |
| Label on accent | 7.34:1 | AAA pass 4.5:1 | |
| Primary on background | 4.08:1 | AA Large pass 3:1 | |
| Accent on background | 7.34: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 | #C73E1D (Text 1) | #DB5034 (Text 2) | #E6674A (Text 3) | #F0815F (Text 4) | #CC4529 (Text 5) |
|---|---|---|---|---|---|
| #C73E1D | Same color | 1.26— | 1.55— | 1.94— | 1.08— |
| #DB5034 | 1.26— | Same color | 1.23— | 1.54— | 1.17— |
| #E6674A | 1.55— | 1.23— | Same color | 1.25— | 1.44— |
| #F0815F | 1.94— | 1.54— | 1.25— | Same color | 1.80— |
| #CC4529 | 1.08— | 1.17— | 1.44— | 1.80— | Same color |
Shades
Shades and tints (50–950)
