PreviewingGo to this paletteOpen in generator
Code
/* Pastel Mix — colorset.net */
:root {
--color-1: #F8BBD9;
--color-2: #E1BEE7;
--color-3: #C5CAE9;
--color-4: #BBDEFB;
--color-5: #B2DFDB;
--color-bg: #F0F8FF;
--color-surface: #E5EFF8;
--color-border: #C9D7E2;
--color-text: #624467;
--color-muted: #77657A;
--color-primary: #AF7794;
--color-on-primary: #000000;
--color-accent: #65908C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150B16;
--color-surface: #1F1521;
--color-border: #352938;
--color-text: #BEDEF8;
--color-muted: #6D8598;
--color-primary: #F8BBD9;
--color-on-primary: #150B16;
--color-accent: #BA89A2;
--color-on-accent: #150B16;
}
}
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 #BBDEFB | adjusted for contrast · from #E1BEE7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E1BEE7 | adjusted for contrast · from #BBDEFB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E1BEE7 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C5CAE9 | adjusted for contrast · from #E1BEE7 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.89:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.74:1 | AAA pass 4.5:1 | |
| Text on surface | 12.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 12.00:1 | AAA pass 4.5:1 | |
| Label on accent | 6.59:1 | AA pass 4.5:1 | |
| Primary on background | 12.00:1 | AAA pass 3:1 | |
| Accent on background | 6.59:1 | AA 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 | #F8BBD9 (Text 1) | #E1BEE7 (Text 2) | #C5CAE9 (Text 3) | #BBDEFB (Text 4) | #B2DFDB (Text 5) |
|---|---|---|---|---|---|
| #F8BBD9 | Same color | 1.03— | 1.01— | 1.14— | 1.10— |
| #E1BEE7 | 1.03— | Same color | 1.02— | 1.18— | 1.14— |
| #C5CAE9 | 1.01— | 1.02— | Same color | 1.15— | 1.11— |
| #BBDEFB | 1.14— | 1.18— | 1.15— | Same color | 1.03— |
| #B2DFDB | 1.10— | 1.14— | 1.11— | 1.03— | Same color |
Shades
Shades and tints (50–950)
