PreviewingGo to this paletteOpen in generator
Code
/* Sepia Photograph — colorset.net */
:root {
--color-1: #EFE4D2;
--color-2: #7B5236;
--color-3: #8E3B4A;
--color-4: #D6C4A8;
--color-5: #241B15;
--color-bg: #FAF6F1;
--color-surface: #F0EDE8;
--color-border: #D9D4CC;
--color-text: #241B15;
--color-muted: #736760;
--color-primary: #8E3B4A;
--color-on-primary: #FFFFFF;
--color-accent: #97866C;
--color-on-accent: #241B15;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241B15;
--color-surface: #2F261F;
--color-border: #473A32;
--color-text: #EFE4D2;
--color-muted: #998E7E;
--color-primary: #AF5866;
--color-on-primary: #FFFFFF;
--color-accent: #D6C4A8;
--color-on-accent: #241B15;
}
}
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 #EFE4D2 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #8E3B4A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7B5236 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.71:1 | AAA pass 4.5:1 | |
| Text on surface | 14.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 7.31:1 | AAA pass 4.5:1 | |
| Label on accent | 4.78:1 | AA pass 4.5:1 | |
| Primary on background | 6.79:1 | AA pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.44:1 | AAA pass 4.5:1 | |
| Text on surface | 11.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 9.92:1 | AAA pass 4.5:1 | |
| Primary on background | 3.55:1 | AA Large pass 3:1 | |
| Accent on background | 9.92: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 | #EFE4D2 (Text 1) | #7B5236 (Text 2) | #8E3B4A (Text 3) | #D6C4A8 (Text 4) | #241B15 (Text 5) |
|---|---|---|---|---|---|
| #EFE4D2 | Same color | 5.38AA | 5.81AA | 1.36— | 13.44AAA |
| #7B5236 | 5.38AA | Same color | 1.08— | 3.97AA Large | 2.50— |
| #8E3B4A | 5.81AA | 1.08— | Same color | 4.29AA Large | 2.31— |
| #D6C4A8 | 1.36— | 3.97AA Large | 4.29AA Large | Same color | 9.92AAA |
| #241B15 | 13.44AAA | 2.50— | 2.31— | 9.92AAA | Same color |
Shades
Shades and tints (50–950)
