PreviewingGo to this paletteOpen in generator
Code
/* Rosewood — colorset.net */
:root {
--color-1: #F4ECE4;
--color-2: #8E3B46;
--color-3: #D8A44C;
--color-4: #A8B5A2;
--color-5: #261C1E;
--color-bg: #F4ECE4;
--color-surface: #F9F4EF;
--color-border: #DED3C8;
--color-text: #261C1E;
--color-muted: #746769;
--color-primary: #8E3B46;
--color-on-primary: #FFFFFF;
--color-accent: #9D6D00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #261C1E;
--color-surface: #312729;
--color-border: #4A3B3E;
--color-text: #F4ECE4;
--color-muted: #989189;
--color-primary: #AF5862;
--color-on-primary: #FFFFFF;
--color-accent: #D8A44C;
--color-on-accent: #261C1E;
}
}
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 #8E3B46 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8E3B46 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.18:1 | AAA pass 4.5:1 | |
| Text on surface | 15.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 7.33:1 | AAA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 6.27:1 | AA pass 3:1 | |
| Accent on background | 3.89:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.18:1 | AAA pass 4.5:1 | |
| Text on surface | 12.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 7.37:1 | AAA pass 4.5:1 | |
| Primary on background | 3.47:1 | AA Large pass 3:1 | |
| Accent on background | 7.37: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 | #F4ECE4 (Text 1) | #8E3B46 (Text 2) | #D8A44C (Text 3) | #A8B5A2 (Text 4) | #261C1E (Text 5) |
|---|---|---|---|---|---|
| #F4ECE4 | Same color | 6.27AA | 1.92— | 1.83— | 14.18AAA |
| #8E3B46 | 6.27AA | Same color | 3.26AA Large | 3.42AA Large | 2.26— |
| #D8A44C | 1.92— | 3.26AA Large | Same color | 1.05— | 7.37AAA |
| #A8B5A2 | 1.83— | 3.42AA Large | 1.05— | Same color | 7.73AAA |
| #261C1E | 14.18AAA | 2.26— | 7.37AAA | 7.73AAA | Same color |
Shades
Shades and tints (50–950)
