PreviewingGo to this paletteOpen in generator
Code
/* Dahlia Soft — colorset.net */
:root {
--color-1: #F2B7E0;
--color-2: #F5C7E7;
--color-3: #F8D7EE;
--color-4: #FBE7F5;
--color-5: #FEF7FC;
--color-bg: #FEF7FC;
--color-surface: #F5EEF3;
--color-border: #DED4DB;
--color-text: #6F3D62;
--color-muted: #7D6575;
--color-primary: #B079A0;
--color-on-primary: #000000;
--color-accent: #8E888C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190915;
--color-surface: #24131F;
--color-border: #3B2635;
--color-text: #FEF7FC;
--color-muted: #918A8F;
--color-primary: #F2B7E0;
--color-on-primary: #190915;
--color-accent: #F8D7EE;
--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 #F2B7E0 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F2B7E0 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F2B7E0 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2B7E0 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 6.09:1 | AA pass 4.5:1 | |
| Label on accent | 6.05:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.26:1 | AAA pass 4.5:1 | |
| Text on surface | 16.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 11.57:1 | AAA pass 4.5:1 | |
| Label on accent | 14.61:1 | AAA pass 4.5:1 | |
| Primary on background | 11.57:1 | AAA pass 3:1 | |
| Accent on background | 14.61: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 | #F2B7E0 (Text 1) | #F5C7E7 (Text 2) | #F8D7EE (Text 3) | #FBE7F5 (Text 4) | #FEF7FC (Text 5) |
|---|---|---|---|---|---|
| #F2B7E0 | Same color | 1.13— | 1.26— | 1.41— | 1.58— |
| #F5C7E7 | 1.13— | Same color | 1.12— | 1.26— | 1.40— |
| #F8D7EE | 1.26— | 1.12— | Same color | 1.12— | 1.25— |
| #FBE7F5 | 1.41— | 1.26— | 1.12— | Same color | 1.12— |
| #FEF7FC | 1.58— | 1.40— | 1.25— | 1.12— | Same color |
Shades
Shades and tints (50–950)
