PreviewingGo to this paletteOpen in generator
Code
/* Charcoal Rose — colorset.net */
:root {
--color-1: #0B0809;
--color-2: #1A1416;
--color-3: #2D2326;
--color-4: #B26678;
--color-5: #D7C5C7;
--color-bg: #FBF5F6;
--color-surface: #F1ECEC;
--color-border: #DCD2D3;
--color-text: #0B0809;
--color-muted: #635F61;
--color-primary: #AB6072;
--color-on-primary: #FFFFFF;
--color-accent: #1A1416;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0809;
--color-surface: #151113;
--color-border: #2B2426;
--color-text: #D7C5C7;
--color-muted: #8A7A7C;
--color-primary: #AB6072;
--color-on-primary: #FFFFFF;
--color-accent: #666263;
--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 | adjusted for contrast · from #D7C5C7 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B26678 | adjusted for contrast · from #B26678 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #B26678 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.51:1 | AAA pass 4.5:1 | |
| Text on surface | 17.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.84:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 18.17:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 16.87:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.06:1 | AAA pass 4.5:1 | |
| Text on surface | 11.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.52:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.41:1 | AA Large pass 3:1 | |
| Accent on background | 3.32: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 | #0B0809 (Text 1) | #1A1416 (Text 2) | #2D2326 (Text 3) | #B26678 (Text 4) | #D7C5C7 (Text 5) |
|---|---|---|---|---|---|
| #0B0809 | Same color | 1.10— | 1.31— | 4.81AA | 12.06AAA |
| #1A1416 | 1.10— | Same color | 1.19— | 4.38AA Large | 10.99AAA |
| #2D2326 | 1.31— | 1.19— | Same color | 3.67AA Large | 9.20AAA |
| #B26678 | 4.81AA | 4.38AA Large | 3.67AA Large | Same color | 2.51— |
| #D7C5C7 | 12.06AAA | 10.99AAA | 9.20AAA | 2.51— | Same color |
Shades
Shades and tints (50–950)
