PreviewingGo to this paletteOpen in generator
Code
/* Sugared Almonds — colorset.net */
:root {
--color-1: #FFE4E6;
--color-2: #E6F3FF;
--color-3: #F0FFF0;
--color-4: #FFFACD;
--color-5: #E6E6FA;
--color-bg: #F0FFF0;
--color-surface: #E7F6E7;
--color-border: #CCDECC;
--color-text: #4E4E5F;
--color-muted: #6B6B7C;
--color-primary: #928D64;
--color-on-primary: #000000;
--color-accent: #8A8A9D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F14;
--color-surface: #19191E;
--color-border: #2D2D36;
--color-text: #F0FFF0;
--color-muted: #849184;
--color-primary: #FFFACD;
--color-on-primary: #0F0F14;
--color-accent: #E6E6FA;
--color-on-accent: #0F0F14;
}
}
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 3 | adjusted for contrast · from #E6E6FA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6E6FA | from palette · color 3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6E6FA | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6E6FA | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 6.22:1 | AA pass 4.5:1 | |
| Label on accent | 6.20:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.45:1 | AAA pass 4.5:1 | |
| Text on surface | 16.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.79:1 | AA pass 4.5:1 | |
| Label on primary | 18.03:1 | AAA pass 4.5:1 | |
| Label on accent | 15.53:1 | AAA pass 4.5:1 | |
| Primary on background | 18.03:1 | AAA pass 3:1 | |
| Accent on background | 15.53: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 | #FFE4E6 (Text 1) | #E6F3FF (Text 2) | #F0FFF0 (Text 3) | #FFFACD (Text 4) | #E6E6FA (Text 5) |
|---|---|---|---|---|---|
| #FFE4E6 | Same color | 1.06— | 1.16— | 1.13— | 1.03— |
| #E6F3FF | 1.06— | Same color | 1.09— | 1.06— | 1.09— |
| #F0FFF0 | 1.16— | 1.09— | Same color | 1.02— | 1.19— |
| #FFFACD | 1.13— | 1.06— | 1.02— | Same color | 1.16— |
| #E6E6FA | 1.03— | 1.09— | 1.19— | 1.16— | Same color |
Shades
Shades and tints (50–950)
