PreviewingGo to this paletteOpen in generator
Code
/* Persimmon Ember — colorset.net */
:root {
--color-1: #7C2D12;
--color-2: #DC2626;
--color-3: #F97316;
--color-4: #FDBA74;
--color-5: #FED7AA;
--color-bg: #FFF5EA;
--color-surface: #F6ECDF;
--color-border: #E0D2C4;
--color-text: #723623;
--color-muted: #80635A;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #A68258;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0905;
--color-surface: #27130D;
--color-border: #3F271F;
--color-text: #F4DABB;
--color-muted: #917E68;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #FDBA74;
--color-on-accent: #1C0905;
}
}
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 | adjusted for contrast · from #FED7AA | adjusted for contrast · from #7C2D12 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7C2D12 | adjusted for contrast · from #FED7AA |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F97316 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.48:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.30:1 | AAA pass 4.5:1 | |
| Text on surface | 13.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 11.42:1 | AAA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 11.42: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 | #7C2D12 (Text 1) | #DC2626 (Text 2) | #F97316 (Text 3) | #FDBA74 (Text 4) | #FED7AA (Text 5) |
|---|---|---|---|---|---|
| #7C2D12 | Same color | 1.94— | 3.34AA Large | 5.56AA | 6.92AA |
| #DC2626 | 1.94— | Same color | 1.72— | 2.86— | 3.57AA Large |
| #F97316 | 3.34AA Large | 1.72— | Same color | 1.66— | 2.07— |
| #FDBA74 | 5.56AA | 2.86— | 1.66— | Same color | 1.25— |
| #FED7AA | 6.92AA | 3.57AA Large | 2.07— | 1.25— | Same color |
Shades
Shades and tints (50–950)
