PreviewingGo to this paletteOpen in generator
Code
/* Bubblegum — colorset.net */
:root {
--color-1: #FFF5F9;
--color-2: #ED5C9E;
--color-3: #6AC9CE;
--color-4: #FFB9D9;
--color-5: #372835;
--color-bg: #FFF5F9;
--color-surface: #F6ECF0;
--color-border: #E0D2D7;
--color-text: #372835;
--color-muted: #786776;
--color-primary: #CD3E83;
--color-on-primary: #FFFFFF;
--color-accent: #32969B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130D12;
--color-surface: #1D171C;
--color-border: #332B32;
--color-text: #FFF5F9;
--color-muted: #92898D;
--color-primary: #ED5C9E;
--color-on-primary: #130D12;
--color-accent: #6AC9CE;
--color-on-accent: #130D12;
}
}
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 1 | adjusted for contrast · from #372835 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #ED5C9E | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6AC9CE | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.97:1 | AAA pass 4.5:1 | |
| Text on surface | 11.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.99:1 | AAA pass 4.5:1 | |
| Text on surface | 16.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.65:1 | AA pass 4.5:1 | |
| Label on primary | 6.06:1 | AA pass 4.5:1 | |
| Label on accent | 9.93:1 | AAA pass 4.5:1 | |
| Primary on background | 6.06:1 | AA pass 3:1 | |
| Accent on background | 9.93: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 | #FFF5F9 (Text 1) | #ED5C9E (Text 2) | #6AC9CE (Text 3) | #FFB9D9 (Text 4) | #372835 (Text 5) |
|---|---|---|---|---|---|
| #FFF5F9 | Same color | 2.97— | 1.81— | 1.49— | 12.97AAA |
| #ED5C9E | 2.97— | Same color | 1.64— | 1.99— | 4.37AA Large |
| #6AC9CE | 1.81— | 1.64— | Same color | 1.22— | 7.16AAA |
| #FFB9D9 | 1.49— | 1.99— | 1.22— | Same color | 8.70AAA |
| #372835 | 12.97AAA | 4.37AA Large | 7.16AAA | 8.70AAA | Same color |
Shades
Shades and tints (50–950)
