PreviewingGo to this paletteOpen in generator
Code
/* Cranberry Bog — colorset.net */
:root {
--color-1: #F8EEEE;
--color-2: #A3243F;
--color-3: #4E7A6E;
--color-4: #EBCFD3;
--color-5: #26181B;
--color-bg: #F8EEEE;
--color-surface: #FCF6F6;
--color-border: #E2D4D4;
--color-text: #26181B;
--color-muted: #79686B;
--color-primary: #A3243F;
--color-on-primary: #FFFFFF;
--color-accent: #4E7A6E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #26181B;
--color-surface: #312326;
--color-border: #4A373B;
--color-text: #F8EEEE;
--color-muted: #968D8D;
--color-primary: #C24358;
--color-on-primary: #FFFFFF;
--color-accent: #4E7A6E;
--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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #A3243F |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.02:1 | AAA pass 4.5:1 | |
| Text on surface | 15.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 7.29:1 | AAA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 6.41:1 | AA pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.02:1 | AAA pass 4.5:1 | |
| Text on surface | 13.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 3.45:1 | AA Large pass 3:1 | |
| Accent on background | 3.53: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 | #F8EEEE (Text 1) | #A3243F (Text 2) | #4E7A6E (Text 3) | #EBCFD3 (Text 4) | #26181B (Text 5) |
|---|---|---|---|---|---|
| #F8EEEE | Same color | 6.41AA | 4.26AA Large | 1.28— | 15.02AAA |
| #A3243F | 6.41AA | Same color | 1.50— | 5.00AA | 2.34— |
| #4E7A6E | 4.26AA Large | 1.50— | Same color | 3.32AA Large | 3.53AA Large |
| #EBCFD3 | 1.28— | 5.00AA | 3.32AA Large | Same color | 11.72AAA |
| #26181B | 15.02AAA | 2.34— | 3.53AA Large | 11.72AAA | Same color |
Shades
Shades and tints (50–950)
