PreviewingGo to this paletteOpen in generator
Code
/* Tech Pink — colorset.net */
:root {
--color-1: #AD1457;
--color-2: #C2185B;
--color-3: #E91E63;
--color-4: #F06292;
--color-5: #F48FB1;
--color-bg: #FFF3F6;
--color-surface: #FAE8ED;
--color-border: #E4CED4;
--color-text: #77384B;
--color-muted: #806269;
--color-primary: #E51760;
--color-on-primary: #FFFFFF;
--color-accent: #B35577;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080E;
--color-surface: #271218;
--color-border: #3F252C;
--color-text: #CFA6B2;
--color-muted: #9A7B84;
--color-primary: #E51760;
--color-on-primary: #FFFFFF;
--color-accent: #F48FB1;
--color-on-accent: #1C080E;
}
}
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 #F48FB1 | adjusted for contrast · from #AD1457 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #AD1457 | adjusted for contrast · from #F48FB1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E91E63 | adjusted for contrast · from #E91E63 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C2185B | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 4.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.94:1 | AAA pass 4.5:1 | |
| Text on surface | 8.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 8.63:1 | AAA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 8.63: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 | #AD1457 (Text 1) | #C2185B (Text 2) | #E91E63 (Text 3) | #F06292 (Text 4) | #F48FB1 (Text 5) |
|---|---|---|---|---|---|
| #AD1457 | Same color | 1.19— | 1.60— | 2.28— | 3.12AA Large |
| #C2185B | 1.19— | Same color | 1.35— | 1.92— | 2.63— |
| #E91E63 | 1.60— | 1.35— | Same color | 1.42— | 1.95— |
| #F06292 | 2.28— | 1.92— | 1.42— | Same color | 1.37— |
| #F48FB1 | 3.12AA Large | 2.63— | 1.95— | 1.37— | Same color |
Shades
Shades and tints (50–950)
