PreviewingGo to this paletteOpen in generator
Code
/* Raspberry Rose — colorset.net */
:root {
--color-1: #E30B5C;
--color-2: #F02D7A;
--color-3: #F73F89;
--color-4: #FF5C9D;
--color-5: #FF8FB6;
--color-bg: #FFF3F6;
--color-surface: #FAE8ED;
--color-border: #E4CED4;
--color-text: #783844;
--color-muted: #806266;
--color-primary: #E30B5C;
--color-on-primary: #FFFFFF;
--color-accent: #BA5179;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F2529;
--color-text: #D3ABB7;
--color-muted: #997B84;
--color-primary: #E30B5C;
--color-on-primary: #FFFFFF;
--color-accent: #FF8FB6;
--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 #FF8FB6 | adjusted for contrast · from #E30B5C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E30B5C | adjusted for contrast · from #FF8FB6 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E30B5C | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.44:1 | AAA pass 4.5:1 | |
| Text on surface | 8.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 9.05:1 | AAA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 9.05: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 | #E30B5C (Text 1) | #F02D7A (Text 2) | #F73F89 (Text 3) | #FF5C9D (Text 4) | #FF8FB6 (Text 5) |
|---|---|---|---|---|---|
| #E30B5C | Same color | 1.20— | 1.35— | 1.63— | 2.21— |
| #F02D7A | 1.20— | Same color | 1.12— | 1.36— | 1.84— |
| #F73F89 | 1.35— | 1.12— | Same color | 1.21— | 1.64— |
| #FF5C9D | 1.63— | 1.36— | 1.21— | Same color | 1.36— |
| #FF8FB6 | 2.21— | 1.84— | 1.64— | 1.36— | Same color |
Shades
Shades and tints (50–950)
