PreviewingGo to this paletteOpen in generator
Code
/* Dusty Pink — colorset.net */
:root {
--color-1: #D4A5A5;
--color-2: #E1B2B2;
--color-3: #EEBFBF;
--color-4: #FBCCCC;
--color-5: #FFD9D9;
--color-bg: #FFF4F3;
--color-surface: #F6EAEA;
--color-border: #E0D0D0;
--color-text: #6A4243;
--color-muted: #806262;
--color-primary: #AA7D7E;
--color-on-primary: #000000;
--color-accent: #724E4F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180B0C;
--color-surface: #231515;
--color-border: #3A2828;
--color-text: #FFD9D9;
--color-muted: #9B7B7B;
--color-primary: #D4A5A5;
--color-on-primary: #180B0C;
--color-accent: #EEBFBF;
--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 | adjusted for contrast · from #FFD9D9 | adjusted for contrast · from #D4A5A5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D4A5A5 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4A5A5 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D4A5A5 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.88:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 5.94:1 | AA pass 4.5:1 | |
| Label on accent | 7.20:1 | AAA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 6.68:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.82:1 | AAA pass 4.5:1 | |
| Text on surface | 13.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 8.91:1 | AAA pass 4.5:1 | |
| Label on accent | 11.76:1 | AAA pass 4.5:1 | |
| Primary on background | 8.91:1 | AAA pass 3:1 | |
| Accent on background | 11.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 | #D4A5A5 (Text 1) | #E1B2B2 (Text 2) | #EEBFBF (Text 3) | #FBCCCC (Text 4) | #FFD9D9 (Text 5) |
|---|---|---|---|---|---|
| #D4A5A5 | Same color | 1.15— | 1.32— | 1.50— | 1.66— |
| #E1B2B2 | 1.15— | Same color | 1.15— | 1.30— | 1.44— |
| #EEBFBF | 1.32— | 1.15— | Same color | 1.14— | 1.26— |
| #FBCCCC | 1.50— | 1.30— | 1.14— | Same color | 1.11— |
| #FFD9D9 | 1.66— | 1.44— | 1.26— | 1.11— | Same color |
Shades
Shades and tints (50–950)
