PreviewingGo to this paletteOpen in generator
Code
/* Dusty Ballet — colorset.net */
:root {
--color-1: #F1DFE1;
--color-2: #E8B5BB;
--color-3: #D199A9;
--color-4: #D2B8A5;
--color-5: #9C7285;
--color-bg: #FBF5F6;
--color-surface: #F1ECEC;
--color-border: #DCD2D3;
--color-text: #694254;
--color-muted: #7E626F;
--color-primary: #9C7285;
--color-on-primary: #000000;
--color-accent: #9C8472;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170B11;
--color-surface: #22151B;
--color-border: #392830;
--color-text: #F1DFE1;
--color-muted: #8D7D7F;
--color-primary: #9C7285;
--color-on-primary: #170B11;
--color-accent: #E8B5BB;
--color-on-accent: #170B11;
}
}
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 #F1DFE1 | adjusted for contrast · from #9C7285 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9C7285 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9C7285 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.16:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 3.78:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.00:1 | AAA pass 4.5:1 | |
| Text on surface | 13.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.72:1 | AA pass 4.5:1 | |
| Label on accent | 10.76:1 | AAA pass 4.5:1 | |
| Primary on background | 4.72:1 | AA pass 3:1 | |
| Accent on background | 10.76: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 | #F1DFE1 (Text 1) | #E8B5BB (Text 2) | #D199A9 (Text 3) | #D2B8A5 (Text 4) | #9C7285 (Text 5) |
|---|---|---|---|---|---|
| #F1DFE1 | Same color | 1.39— | 1.85— | 1.47— | 3.18AA Large |
| #E8B5BB | 1.39— | Same color | 1.33— | 1.06— | 2.28— |
| #D199A9 | 1.85— | 1.33— | Same color | 1.26— | 1.71— |
| #D2B8A5 | 1.47— | 1.06— | 1.26— | Same color | 2.16— |
| #9C7285 | 3.18AA Large | 2.28— | 1.71— | 2.16— | Same color |
Shades
Shades and tints (50–950)
