PreviewingGo to this paletteOpen in generator
Code
/* Raspberry Mousse — colorset.net */
:root {
--color-1: #CC527A;
--color-2: #D1648A;
--color-3: #D6769A;
--color-4: #DB88AA;
--color-5: #E09ABA;
--color-bg: #FFF3F8;
--color-surface: #F9E8EF;
--color-border: #E3CFD7;
--color-text: #77384B;
--color-muted: #806269;
--color-primary: #C54C74;
--color-on-primary: #FFFFFF;
--color-accent: #A26180;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080E;
--color-surface: #271218;
--color-border: #3F252C;
--color-text: #CCA6B6;
--color-muted: #987B88;
--color-primary: #C54C74;
--color-on-primary: #FFFFFF;
--color-accent: #DB88AA;
--color-on-accent: #1C080E;
}
}
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 #E09ABA | adjusted for contrast · from #CC527A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CC527A | adjusted for contrast · from #E09ABA |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CC527A | adjusted for contrast · from #CC527A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CC527A | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 4.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.89:1 | AAA pass 4.5:1 | |
| Text on surface | 8.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 7.44:1 | AAA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 7.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 | #CC527A (Text 1) | #D1648A (Text 2) | #D6769A (Text 3) | #DB88AA (Text 4) | #E09ABA (Text 5) |
|---|---|---|---|---|---|
| #CC527A | Same color | 1.17— | 1.37— | 1.61— | 1.88— |
| #D1648A | 1.17— | Same color | 1.17— | 1.38— | 1.61— |
| #D6769A | 1.37— | 1.17— | Same color | 1.17— | 1.37— |
| #DB88AA | 1.61— | 1.38— | 1.17— | Same color | 1.17— |
| #E09ABA | 1.88— | 1.61— | 1.37— | 1.17— | Same color |
Shades
Shades and tints (50–950)
