PreviewingGo to this paletteOpen in generator
Code
/* Magazine Pink — colorset.net */
:root {
--color-1: #FDF6F8;
--color-2: #DB327B;
--color-3: #2C807C;
--color-4: #F4C1CF;
--color-5: #1A1416;
--color-bg: #FDF6F8;
--color-surface: #F4EDEF;
--color-border: #DED3D6;
--color-text: #1A1416;
--color-muted: #70686B;
--color-primary: #D72E78;
--color-on-primary: #FFFFFF;
--color-accent: #2C807C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1416;
--color-surface: #251E20;
--color-border: #3C3235;
--color-text: #FDF6F8;
--color-muted: #948E8F;
--color-primary: #D72E78;
--color-on-primary: #FFFFFF;
--color-accent: #2C807C;
--color-on-accent: #FFFFFF;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DB327B | adjusted for contrast · from #DB327B |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.06:1 | AAA pass 4.5:1 | |
| Text on surface | 15.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 4.39:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.06:1 | AAA pass 4.5:1 | |
| Text on surface | 15.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.68:1 | AA pass 4.5:1 | |
| Primary on background | 3.94:1 | AA Large pass 3:1 | |
| Accent on background | 3.88:1 | AA Large 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 | #FDF6F8 (Text 1) | #DB327B (Text 2) | #2C807C (Text 3) | #F4C1CF (Text 4) | #1A1416 (Text 5) |
|---|---|---|---|---|---|
| #FDF6F8 | Same color | 4.15AA Large | 4.39AA Large | 1.47— | 17.06AAA |
| #DB327B | 4.15AA Large | Same color | 1.06— | 2.81— | 4.11AA Large |
| #2C807C | 4.39AA Large | 1.06— | Same color | 2.98— | 3.88AA Large |
| #F4C1CF | 1.47— | 2.81— | 2.98— | Same color | 11.57AAA |
| #1A1416 | 17.06AAA | 4.11AA Large | 3.88AA Large | 11.57AAA | Same color |
Shades
Shades and tints (50–950)
