PreviewingGo to this paletteOpen in generator
Code
/* Raspberry Sorbet — colorset.net */
:root {
--color-1: #B0184B;
--color-2: #E30B5D;
--color-3: #E94B9D;
--color-4: #FF69B4;
--color-5: #FF6DB6;
--color-bg: #FFF3F8;
--color-surface: #F9E8EF;
--color-border: #E3CFD7;
--color-text: #7A3A46;
--color-muted: #816367;
--color-primary: #E30B5D;
--color-on-primary: #FFFFFF;
--color-accent: #CD3E8B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F2529;
--color-text: #C39CAC;
--color-muted: #967985;
--color-primary: #E30B5D;
--color-on-primary: #FFFFFF;
--color-accent: #FF6DB6;
--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 #FF6DB6 | adjusted for contrast · from #B0184B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B0184B | adjusted for contrast · from #FF6DB6 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E94B9D | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 4.17:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.96:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 7.45:1 | AAA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 7.45: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 | #B0184B (Text 1) | #E30B5D (Text 2) | #E94B9D (Text 3) | #FF69B4 (Text 4) | #FF6DB6 (Text 5) |
|---|---|---|---|---|---|
| #B0184B | Same color | 1.45— | 1.94— | 2.58— | 2.64— |
| #E30B5D | 1.45— | Same color | 1.33— | 1.77— | 1.81— |
| #E94B9D | 1.94— | 1.33— | Same color | 1.33— | 1.36— |
| #FF69B4 | 2.58— | 1.77— | 1.33— | Same color | 1.02— |
| #FF6DB6 | 2.64— | 1.81— | 1.36— | 1.02— | Same color |
Shades
Shades and tints (50–950)
