PreviewingGo to this paletteOpen in generator
Code
/* Cranberry Wreath — colorset.net */
:root {
--color-1: #FAF3F2;
--color-2: #A01F3B;
--color-3: #3B6B53;
--color-4: #EED6D8;
--color-5: #231719;
--color-bg: #FAF3F2;
--color-surface: #FFFBFA;
--color-border: #E4D9D8;
--color-text: #231719;
--color-muted: #78696B;
--color-primary: #A01F3B;
--color-on-primary: #FFFFFF;
--color-accent: #3B6B53;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #231719;
--color-surface: #2E2224;
--color-border: #473638;
--color-text: #FAF3F2;
--color-muted: #958F8E;
--color-primary: #C34256;
--color-on-primary: #FFFFFF;
--color-accent: #497A61;
--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 #A01F3B |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3B6B53 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.87:1 | AAA pass 4.5:1 | |
| Text on surface | 16.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.75:1 | AA pass 4.5:1 | |
| Label on primary | 7.63:1 | AAA pass 4.5:1 | |
| Label on accent | 6.15:1 | AA pass 4.5:1 | |
| Primary on background | 6.96:1 | AA pass 3:1 | |
| Accent on background | 5.61:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.87:1 | AAA pass 4.5:1 | |
| Text on surface | 13.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.50:1 | AA Large pass 3:1 | |
| Accent on background | 3.51: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 | #FAF3F2 (Text 1) | #A01F3B (Text 2) | #3B6B53 (Text 3) | #EED6D8 (Text 4) | #231719 (Text 5) |
|---|---|---|---|---|---|
| #FAF3F2 | Same color | 6.96AA | 5.61AA | 1.26— | 15.87AAA |
| #A01F3B | 6.96AA | Same color | 1.24— | 5.54AA | 2.28— |
| #3B6B53 | 5.61AA | 1.24— | Same color | 4.47AA Large | 2.83— |
| #EED6D8 | 1.26— | 5.54AA | 4.47AA Large | Same color | 12.62AAA |
| #231719 | 15.87AAA | 2.28— | 2.83— | 12.62AAA | Same color |
Shades
Shades and tints (50–950)
