PreviewingGo to this paletteOpen in generator
Code
/* Raspberry Fizz — colorset.net */
:root {
--color-1: #D8006B;
--color-2: #E53384;
--color-3: #F2669D;
--color-4: #FF99B6;
--color-5: #FFCCCF;
--color-bg: #FFF4F4;
--color-surface: #F9E9EA;
--color-border: #E3CFD0;
--color-text: #77384B;
--color-muted: #806269;
--color-primary: #D8006B;
--color-on-primary: #FFFFFF;
--color-accent: #AA7B7E;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080E;
--color-surface: #271218;
--color-border: #3F252C;
--color-text: #FACED1;
--color-muted: #99797B;
--color-primary: #D8006B;
--color-on-primary: #FFFFFF;
--color-accent: #FF99B6;
--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 #FFCCCF | adjusted for contrast · from #D8006B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D8006B | adjusted for contrast · from #FFCCCF |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2669D | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.95:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.08:1 | AA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 4.72:1 | AA pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.59:1 | AAA pass 4.5:1 | |
| Text on surface | 12.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 5.08:1 | AA pass 4.5:1 | |
| Label on accent | 9.61:1 | AAA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 9.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 | #D8006B (Text 1) | #E53384 (Text 2) | #F2669D (Text 3) | #FF99B6 (Text 4) | #FFCCCF (Text 5) |
|---|---|---|---|---|---|
| #D8006B | Same color | 1.24— | 1.73— | 2.54— | 3.58AA Large |
| #E53384 | 1.24— | Same color | 1.39— | 2.04— | 2.88— |
| #F2669D | 1.73— | 1.39— | Same color | 1.46— | 2.06— |
| #FF99B6 | 2.54— | 2.04— | 1.46— | Same color | 1.41— |
| #FFCCCF | 3.58AA Large | 2.88— | 2.06— | 1.41— | Same color |
Shades
Shades and tints (50–950)
