PreviewingGo to this paletteOpen in generator
Code
/* Raspberry Flash — colorset.net */
:root {
--color-1: #FF0040;
--color-2: #FF1A5A;
--color-3: #FF3374;
--color-4: #FF4D8E;
--color-5: #FF66A8;
--color-bg: #FFF3F7;
--color-surface: #F9E8EE;
--color-border: #E3CED5;
--color-text: #7A3A3B;
--color-muted: #826362;
--color-primary: #EA003A;
--color-on-primary: #FFFFFF;
--color-accent: #D03A80;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281312;
--color-border: #402625;
--color-text: #C39BA9;
--color-muted: #997B85;
--color-primary: #EA003A;
--color-on-primary: #FFFFFF;
--color-accent: #FF66A8;
--color-on-accent: #1C0909;
}
}
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 #FF66A8 | adjusted for contrast · from #FF0040 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF0040 | adjusted for contrast · from #FF66A8 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0040 | adjusted for contrast · from #FF0040 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF3374 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 7.07:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 7.07: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 | #FF0040 (Text 1) | #FF1A5A (Text 2) | #FF3374 (Text 3) | #FF4D8E (Text 4) | #FF66A8 (Text 5) |
|---|---|---|---|---|---|
| #FF0040 | Same color | 1.04— | 1.12— | 1.26— | 1.45— |
| #FF1A5A | 1.04— | Same color | 1.08— | 1.21— | 1.39— |
| #FF3374 | 1.12— | 1.08— | Same color | 1.12— | 1.29— |
| #FF4D8E | 1.26— | 1.21— | 1.12— | Same color | 1.15— |
| #FF66A8 | 1.45— | 1.39— | 1.29— | 1.15— | Same color |
Shades
Shades and tints (50–950)
