PreviewingGo to this paletteOpen in generator
Code
/* Dahlia Garden — colorset.net */
:root {
--color-1: #D891C5;
--color-2: #E5A4D2;
--color-3: #F2B7E0;
--color-4: #F7CBE8;
--color-5: #FDE3F5;
--color-bg: #FDE3F5;
--color-surface: #FEEEF9;
--color-border: #E5CADD;
--color-text: #6C3960;
--color-muted: #796172;
--color-primary: #A15E90;
--color-on-primary: #FFFFFF;
--color-accent: #967F8F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190915;
--color-surface: #24131F;
--color-border: #3B2635;
--color-text: #FDE3F5;
--color-muted: #957D8E;
--color-primary: #D891C5;
--color-on-primary: #190915;
--color-accent: #F7CBE8;
--color-on-accent: #190915;
}
}
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 #D891C5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D891C5 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D891C5 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D891C5 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.31:1 | AAA pass 4.5:1 | |
| Text on surface | 7.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 3.87:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.02:1 | AAA pass 4.5:1 | |
| Text on surface | 14.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 8.04:1 | AAA pass 4.5:1 | |
| Label on accent | 13.44:1 | AAA pass 4.5:1 | |
| Primary on background | 8.04:1 | AAA pass 3:1 | |
| Accent on background | 13.44: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 | #D891C5 (Text 1) | #E5A4D2 (Text 2) | #F2B7E0 (Text 3) | #F7CBE8 (Text 4) | #FDE3F5 (Text 5) |
|---|---|---|---|---|---|
| #D891C5 | Same color | 1.20— | 1.44— | 1.67— | 1.99— |
| #E5A4D2 | 1.20— | Same color | 1.19— | 1.39— | 1.65— |
| #F2B7E0 | 1.44— | 1.19— | Same color | 1.16— | 1.38— |
| #F7CBE8 | 1.67— | 1.39— | 1.16— | Same color | 1.19— |
| #FDE3F5 | 1.99— | 1.65— | 1.38— | 1.19— | Same color |
Shades
Shades and tints (50–950)
