PreviewingGo to this paletteOpen in generator
Code
/* Chrome Heart — colorset.net */
:root {
--color-1: #1A1D2B;
--color-2: #FF6EC7;
--color-3: #8BE0FF;
--color-4: #3A3F55;
--color-5: #EEF1F7;
--color-bg: #EEF1F7;
--color-surface: #F6F8FC;
--color-border: #D4D8E2;
--color-text: #1A1D2B;
--color-muted: #696D7F;
--color-primary: #E354AD;
--color-on-primary: #1A1D2B;
--color-accent: #3C93B0;
--color-on-accent: #1A1D2B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1D2B;
--color-surface: #252836;
--color-border: #393D50;
--color-text: #EEF1F7;
--color-muted: #8E9096;
--color-primary: #FF6EC7;
--color-on-primary: #1A1D2B;
--color-accent: #8BE0FF;
--color-on-accent: #1A1D2B;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF6EC7 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8BE0FF | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.79:1 | AAA pass 4.5:1 | |
| Text on surface | 15.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.89:1 | AA pass 4.5:1 | |
| Label on accent | 4.78:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.79:1 | AAA pass 4.5:1 | |
| Text on surface | 12.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 6.62:1 | AA pass 4.5:1 | |
| Label on accent | 11.32:1 | AAA pass 4.5:1 | |
| Primary on background | 6.62:1 | AA pass 3:1 | |
| Accent on background | 11.32: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 | #1A1D2B (Text 1) | #FF6EC7 (Text 2) | #8BE0FF (Text 3) | #3A3F55 (Text 4) | #EEF1F7 (Text 5) |
|---|---|---|---|---|---|
| #1A1D2B | Same color | 6.62AA | 11.32AAA | 1.61— | 14.79AAA |
| #FF6EC7 | 6.62AA | Same color | 1.71— | 4.11AA Large | 2.23— |
| #8BE0FF | 11.32AAA | 1.71— | Same color | 7.02AAA | 1.31— |
| #3A3F55 | 1.61— | 4.11AA Large | 7.02AAA | Same color | 9.18AAA |
| #EEF1F7 | 14.79AAA | 2.23— | 1.31— | 9.18AAA | Same color |
Shades
Shades and tints (50–950)
