PreviewingGo to this paletteOpen in generator
Code
/* Hanami Path — colorset.net */
:root {
--color-1: #FFF8FB;
--color-2: #F075AA;
--color-3: #435E3D;
--color-4: #FEC5DA;
--color-5: #33232E;
--color-bg: #FFF8FB;
--color-surface: #F6EFF2;
--color-border: #E0D5D9;
--color-text: #33232E;
--color-muted: #7A6774;
--color-primary: #D85F94;
--color-on-primary: #000000;
--color-accent: #435E3D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130D11;
--color-surface: #1D171B;
--color-border: #342B31;
--color-text: #FFF8FB;
--color-muted: #918B8E;
--color-primary: #F075AA;
--color-on-primary: #130D11;
--color-accent: #516C4B;
--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 | adjusted for contrast · from #33232E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F075AA | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #435E3D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.13:1 | AAA pass 4.5:1 | |
| Text on surface | 13.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 7.22:1 | AAA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.90:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.36:1 | AAA pass 4.5:1 | |
| Text on surface | 16.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.75:1 | AA pass 4.5:1 | |
| Label on primary | 7.16:1 | AAA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 7.16:1 | AAA pass 3:1 | |
| Accent on background | 3.29: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 | #FFF8FB (Text 1) | #F075AA (Text 2) | #435E3D (Text 3) | #FEC5DA (Text 4) | #33232E (Text 5) |
|---|---|---|---|---|---|
| #FFF8FB | Same color | 2.56— | 6.90AA | 1.41— | 14.13AAA |
| #F075AA | 2.56— | Same color | 2.69— | 1.82— | 5.51AA |
| #435E3D | 6.90AA | 2.69— | Same color | 4.89AA | 2.05— |
| #FEC5DA | 1.41— | 1.82— | 4.89AA | Same color | 10.00AAA |
| #33232E | 14.13AAA | 5.51AA | 2.05— | 10.00AAA | Same color |
Shades
Shades and tints (50–950)
