PreviewingGo to this paletteOpen in generator
Code
/* Dahlia Pink — colorset.net */
:root {
--color-1: #E85C99;
--color-2: #F076AD;
--color-3: #F890C1;
--color-4: #FFAAD5;
--color-5: #FFC4E9;
--color-bg: #FFF3FA;
--color-surface: #F8E9F1;
--color-border: #E1CFDA;
--color-text: #763952;
--color-muted: #7F626C;
--color-primary: #CC4281;
--color-on-primary: #FFFFFF;
--color-accent: #9A6587;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0810;
--color-surface: #26121A;
--color-border: #3E252E;
--color-text: #F1CCE3;
--color-muted: #967B8C;
--color-primary: #E85C99;
--color-on-primary: #1B0810;
--color-accent: #FFAAD5;
--color-on-accent: #1B0810;
}
}
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 #FFC4E9 | adjusted for contrast · from #E85C99 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E85C99 | adjusted for contrast · from #FFC4E9 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E85C99 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E85C99 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.30:1 | AAA pass 4.5:1 | |
| Text on surface | 12.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.90:1 | AA pass 4.5:1 | |
| Label on accent | 10.99:1 | AAA pass 4.5:1 | |
| Primary on background | 5.90:1 | AA pass 3:1 | |
| Accent on background | 10.99: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 | #E85C99 (Text 1) | #F076AD (Text 2) | #F890C1 (Text 3) | #FFAAD5 (Text 4) | #FFC4E9 (Text 5) |
|---|---|---|---|---|---|
| #E85C99 | Same color | 1.23— | 1.52— | 1.86— | 2.23— |
| #F076AD | 1.23— | Same color | 1.23— | 1.51— | 1.81— |
| #F890C1 | 1.52— | 1.23— | Same color | 1.23— | 1.47— |
| #FFAAD5 | 1.86— | 1.51— | 1.23— | Same color | 1.20— |
| #FFC4E9 | 2.23— | 1.81— | 1.47— | 1.20— | Same color |
Shades
Shades and tints (50–950)
