PreviewingGo to this paletteOpen in generator
Code
/* Raspberry Pink — colorset.net */
:root {
--color-1: #B30047;
--color-2: #D21F75;
--color-3: #E30B5C;
--color-4: #F72585;
--color-5: #FF80AB;
--color-bg: #FFF3F6;
--color-surface: #FAE8ED;
--color-border: #E4CED4;
--color-text: #793945;
--color-muted: #816266;
--color-primary: #E30B5C;
--color-on-primary: #FFFFFF;
--color-accent: #C34B78;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F2529;
--color-text: #CCA3AE;
--color-muted: #987982;
--color-primary: #E30B5C;
--color-on-primary: #FFFFFF;
--color-accent: #FF80AB;
--color-on-accent: #1C080C;
}
}
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 #FF80AB | adjusted for contrast · from #B30047 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B30047 | adjusted for contrast · from #FF80AB |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D21F75 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.95:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 8.19:1 | AAA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 8.19: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 | #B30047 (Text 1) | #D21F75 (Text 2) | #E30B5C (Text 3) | #F72585 (Text 4) | #FF80AB (Text 5) |
|---|---|---|---|---|---|
| #B30047 | Same color | 1.39— | 1.49— | 1.85— | 2.97— |
| #D21F75 | 1.39— | Same color | 1.07— | 1.33— | 2.13— |
| #E30B5C | 1.49— | 1.07— | Same color | 1.24— | 2.00— |
| #F72585 | 1.85— | 1.33— | 1.24— | Same color | 1.61— |
| #FF80AB | 2.97— | 2.13— | 2.00— | 1.61— | Same color |
Shades
Shades and tints (50–950)
