PreviewingGo to this paletteOpen in generator
Code
/* Desert Bloom — colorset.net */
:root {
--color-1: #FAF1EE;
--color-2: #D2557B;
--color-3: #6E8F5F;
--color-4: #F0D5CE;
--color-5: #2C1E22;
--color-bg: #FAF1EE;
--color-surface: #FFF9F7;
--color-border: #E4D7D3;
--color-text: #2C1E22;
--color-muted: #7B6A6F;
--color-primary: #C4486F;
--color-on-primary: #FFFFFF;
--color-accent: #6E8F5F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2C1E22;
--color-surface: #38292D;
--color-border: #503D43;
--color-text: #FAF1EE;
--color-muted: #9A928F;
--color-primary: #D2557B;
--color-on-primary: #000000;
--color-accent: #6E8F5F;
--color-on-accent: #000000;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D2557B | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.35:1 | AAA pass 4.5:1 | |
| Text on surface | 15.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.76:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.35:1 | AAA pass 4.5:1 | |
| Text on surface | 12.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.23:1 | AA pass 4.5:1 | |
| Label on primary | 5.33:1 | AA pass 4.5:1 | |
| Label on accent | 5.76:1 | AA pass 4.5:1 | |
| Primary on background | 4.05:1 | AA Large pass 3:1 | |
| Accent on background | 4.38: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 | #FAF1EE (Text 1) | #D2557B (Text 2) | #6E8F5F (Text 3) | #F0D5CE (Text 4) | #2C1E22 (Text 5) |
|---|---|---|---|---|---|
| #FAF1EE | Same color | 3.55AA Large | 3.28AA Large | 1.25— | 14.35AAA |
| #D2557B | 3.55AA Large | Same color | 1.08— | 2.84— | 4.05AA Large |
| #6E8F5F | 3.28AA Large | 1.08— | Same color | 2.63— | 4.38AA Large |
| #F0D5CE | 1.25— | 2.84— | 2.63— | Same color | 11.49AAA |
| #2C1E22 | 14.35AAA | 4.05AA Large | 4.38AA Large | 11.49AAA | Same color |
Shades
Shades and tints (50–950)
