PreviewingGo to this paletteOpen in generator
Code
/* Strawberry Pink — colorset.net */
:root {
--color-1: #FC5A8D;
--color-2: #FE73A1;
--color-3: #FF8CB5;
--color-4: #FFA5C9;
--color-5: #FFBEDC;
--color-bg: #FFF3F8;
--color-surface: #F9E8EF;
--color-border: #E3CFD7;
--color-text: #793A4B;
--color-muted: #816369;
--color-primary: #D4326D;
--color-on-primary: #FFFFFF;
--color-accent: #9F6581;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080D;
--color-surface: #271217;
--color-border: #3F252B;
--color-text: #EFC7D9;
--color-muted: #987B88;
--color-primary: #FC5A8D;
--color-on-primary: #1C080D;
--color-accent: #FFA5C9;
--color-on-accent: #1C080D;
}
}
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 #FFBEDC | adjusted for contrast · from #FC5A8D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FC5A8D | adjusted for contrast · from #FFBEDC |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FC5A8D | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FC5A8D | from palette · color 4 |
| 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.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.69: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.18:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.70:1 | AAA pass 4.5:1 | |
| Text on surface | 11.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 6.41:1 | AA pass 4.5:1 | |
| Label on accent | 10.53:1 | AAA pass 4.5:1 | |
| Primary on background | 6.41:1 | AA pass 3:1 | |
| Accent on background | 10.53: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 | #FC5A8D (Text 1) | #FE73A1 (Text 2) | #FF8CB5 (Text 3) | #FFA5C9 (Text 4) | #FFBEDC (Text 5) |
|---|---|---|---|---|---|
| #FC5A8D | Same color | 1.17— | 1.38— | 1.64— | 1.95— |
| #FE73A1 | 1.17— | Same color | 1.18— | 1.40— | 1.67— |
| #FF8CB5 | 1.38— | 1.18— | Same color | 1.19— | 1.41— |
| #FFA5C9 | 1.64— | 1.40— | 1.19— | Same color | 1.19— |
| #FFBEDC | 1.95— | 1.67— | 1.41— | 1.19— | Same color |
Shades
Shades and tints (50–950)
