PreviewingGo to this paletteOpen in generator
Code
/* Conversation Hearts — colorset.net */
:root {
--color-1: #FDF6F8;
--color-2: #F7A8C4;
--color-3: #B9A6E8;
--color-4: #A8E0D1;
--color-5: #5A3A52;
--color-bg: #FDF6F8;
--color-surface: #F4EDEF;
--color-border: #DED3D6;
--color-text: #5A3A52;
--color-muted: #7B6375;
--color-primary: #7F6CAA;
--color-on-primary: #FFFFFF;
--color-accent: #5E9486;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160B13;
--color-surface: #20151D;
--color-border: #372833;
--color-text: #FDF6F8;
--color-muted: #908A8C;
--color-primary: #B9A6E8;
--color-on-primary: #160B13;
--color-accent: #7D5B74;
--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 #5A3A52 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #5A3A52 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B9A6E8 | adjusted for contrast · from #5A3A52 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.12:1 | AAA pass 4.5:1 | |
| Text on surface | 8.42: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 | 6.06:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.06:1 | AAA pass 4.5:1 | |
| Text on surface | 16.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 8.87:1 | AAA pass 4.5:1 | |
| Label on accent | 5.80:1 | AA pass 4.5:1 | |
| Primary on background | 8.87:1 | AAA pass 3:1 | |
| Accent on background | 3.32: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) | #F7A8C4 (Text 2) | #B9A6E8 (Text 3) | #A8E0D1 (Text 4) | #5A3A52 (Text 5) |
|---|---|---|---|---|---|
| #FDF6F8 | Same color | 1.74— | 2.04— | 1.38— | 9.12AAA |
| #F7A8C4 | 1.74— | Same color | 1.17— | 1.25— | 5.25AA |
| #B9A6E8 | 2.04— | 1.17— | Same color | 1.47— | 4.48AA Large |
| #A8E0D1 | 1.38— | 1.25— | 1.47— | Same color | 6.59AA |
| #5A3A52 | 9.12AAA | 5.25AA | 4.48AA Large | 6.59AA | Same color |
Shades
Shades and tints (50–950)
