PreviewingGo to this paletteOpen in generator
Code
/* Dusty Rose Petal — colorset.net */
:root {
--color-1: #D8A8A8;
--color-2: #E5B8B8;
--color-3: #F0C8C8;
--color-4: #F5D8D8;
--color-5: #FFE8E8;
--color-bg: #FFE8E8;
--color-surface: #FFF2F2;
--color-border: #E9CECE;
--color-text: #6D4445;
--color-muted: #826363;
--color-primary: #AB7D7D;
--color-on-primary: #000000;
--color-accent: #734E4F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180B0C;
--color-surface: #231515;
--color-border: #3B2828;
--color-text: #FFE8E8;
--color-muted: #968181;
--color-primary: #D8A8A8;
--color-on-primary: #180B0C;
--color-accent: #F0C8C8;
--color-on-accent: #180B0C;
}
}
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 5 | adjusted for contrast · from #D8A8A8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D8A8A8 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D8A8A8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D8A8A8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.01:1 | AAA pass 4.5:1 | |
| Text on surface | 7.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.59:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 7.16:1 | AAA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 6.13:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.45:1 | AAA pass 4.5:1 | |
| Text on surface | 15.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 9.24:1 | AAA pass 4.5:1 | |
| Label on accent | 12.64:1 | AAA pass 4.5:1 | |
| Primary on background | 9.24:1 | AAA pass 3:1 | |
| Accent on background | 12.64: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 | #D8A8A8 (Text 1) | #E5B8B8 (Text 2) | #F0C8C8 (Text 3) | #F5D8D8 (Text 4) | #FFE8E8 (Text 5) |
|---|---|---|---|---|---|
| #D8A8A8 | Same color | 1.18— | 1.37— | 1.56— | 1.78— |
| #E5B8B8 | 1.18— | Same color | 1.16— | 1.32— | 1.51— |
| #F0C8C8 | 1.37— | 1.16— | Same color | 1.14— | 1.30— |
| #F5D8D8 | 1.56— | 1.32— | 1.14— | Same color | 1.14— |
| #FFE8E8 | 1.78— | 1.51— | 1.30— | 1.14— | Same color |
Shades
Shades and tints (50–950)
