PreviewingGo to this paletteOpen in generator
Code
/* Strawberry Cream — colorset.net */
:root {
--color-1: #FFF1F2;
--color-2: #FECACA;
--color-3: #F87171;
--color-4: #EF4444;
--color-5: #DC2626;
--color-bg: #FFF1F2;
--color-surface: #FFFBFB;
--color-border: #E9D7D8;
--color-text: #7F3F38;
--color-muted: #876864;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #958889;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402623;
--color-text: #FFF1F2;
--color-muted: #938788;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #FECACA;
--color-on-accent: #1C0907;
}
}
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 | from palette · color 1 | adjusted for contrast · from #DC2626 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DC2626 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F87171 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.16:1 | AAA pass 4.5:1 | |
| Text on surface | 7.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 6.16:1 | AA pass 4.5:1 | |
| Primary on background | 4.40:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.51:1 | AAA pass 4.5:1 | |
| Text on surface | 16.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 13.30:1 | AAA pass 4.5:1 | |
| Primary on background | 3.98:1 | AA Large pass 3:1 | |
| Accent on background | 13.30: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 | #FFF1F2 (Text 1) | #FECACA (Text 2) | #F87171 (Text 3) | #EF4444 (Text 4) | #DC2626 (Text 5) |
|---|---|---|---|---|---|
| #FFF1F2 | Same color | 1.32— | 2.52— | 3.43AA Large | 4.40AA Large |
| #FECACA | 1.32— | Same color | 1.91— | 2.60— | 3.34AA Large |
| #F87171 | 2.52— | 1.91— | Same color | 1.36— | 1.75— |
| #EF4444 | 3.43AA Large | 2.60— | 1.36— | Same color | 1.28— |
| #DC2626 | 4.40AA Large | 3.34AA Large | 1.75— | 1.28— | Same color |
Shades
Shades and tints (50–950)
