PreviewingGo to this paletteOpen in generator
Code
/* Sugared Almond — colorset.net */
:root {
--color-1: #F9F1E3;
--color-2: #FFD7CA;
--color-3: #F2D3EE;
--color-4: #B8E9EB;
--color-5: #D6E9C6;
--color-bg: #F9F1E3;
--color-surface: #FEF9F0;
--color-border: #E2D8C7;
--color-text: #634960;
--color-muted: #7C667A;
--color-primary: #659395;
--color-on-primary: #000000;
--color-accent: #A78277;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140C13;
--color-surface: #1F161E;
--color-border: #352934;
--color-text: #F9F1E3;
--color-muted: #8F887B;
--color-primary: #B8E9EB;
--color-on-primary: #140C13;
--color-accent: #FFD7CA;
--color-on-accent: #140C13;
}
}
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 #F2D3EE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F2D3EE | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8E9EB | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2D3EE | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.06:1 | AAA pass 4.5:1 | |
| Text on surface | 7.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 6.16:1 | AA pass 4.5:1 | |
| Label on accent | 6.10:1 | AA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.15:1 | AAA pass 4.5:1 | |
| Text on surface | 15.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 14.56:1 | AAA pass 4.5:1 | |
| Label on accent | 14.50:1 | AAA pass 4.5:1 | |
| Primary on background | 14.56:1 | AAA pass 3:1 | |
| Accent on background | 14.50: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 | #F9F1E3 (Text 1) | #FFD7CA (Text 2) | #F2D3EE (Text 3) | #B8E9EB (Text 4) | #D6E9C6 (Text 5) |
|---|---|---|---|---|---|
| #F9F1E3 | Same color | 1.18— | 1.22— | 1.18— | 1.15— |
| #FFD7CA | 1.18— | Same color | 1.03— | 1.00— | 1.03— |
| #F2D3EE | 1.22— | 1.03— | Same color | 1.04— | 1.07— |
| #B8E9EB | 1.18— | 1.00— | 1.04— | Same color | 1.03— |
| #D6E9C6 | 1.15— | 1.03— | 1.07— | 1.03— | Same color |
Shades
Shades and tints (50–950)
