PreviewingGo to this paletteOpen in generator
Code
/* Rosewood Cabinet — colorset.net */
:root {
--color-1: #65000B;
--color-2: #7E191B;
--color-3: #96312A;
--color-4: #AE4A3A;
--color-5: #C6644B;
--color-bg: #FFF4F1;
--color-surface: #FBE9E5;
--color-border: #E5D0CA;
--color-text: #581B1A;
--color-muted: #836462;
--color-primary: #AE4A3A;
--color-on-primary: #FFFFFF;
--color-accent: #7E191B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0908;
--color-surface: #281311;
--color-border: #402624;
--color-text: #C39B91;
--color-muted: #9A7C73;
--color-primary: #AE4A3A;
--color-on-primary: #FFFFFF;
--color-accent: #DF8474;
--color-on-accent: #1C0908;
}
}
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 #C6644B | adjusted for contrast · from #65000B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #65000B | adjusted for contrast · from #C6644B |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #C6644B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.27:1 | AAA pass 4.5:1 | |
| Text on surface | 11.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.47:1 | AA pass 4.5:1 | |
| Label on accent | 10.28:1 | AAA pass 4.5:1 | |
| Primary on background | 5.07:1 | AA pass 3:1 | |
| Accent on background | 9.53:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.47:1 | AA pass 4.5:1 | |
| Label on accent | 7.04:1 | AAA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 7.04: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 | #65000B (Text 1) | #7E191B (Text 2) | #96312A (Text 3) | #AE4A3A (Text 4) | #C6644B (Text 5) |
|---|---|---|---|---|---|
| #65000B | Same color | 1.31— | 1.78— | 2.46— | 3.42AA Large |
| #7E191B | 1.31— | Same color | 1.36— | 1.88— | 2.61— |
| #96312A | 1.78— | 1.36— | Same color | 1.39— | 1.92— |
| #AE4A3A | 2.46— | 1.88— | 1.39— | Same color | 1.39— |
| #C6644B | 3.42AA Large | 2.61— | 1.92— | 1.39— | Same color |
Shades
Shades and tints (50–950)
