PreviewingGo to this paletteOpen in generator
Code
/* Postcard Home — colorset.net */
:root {
--color-1: #F5F0E6;
--color-2: #BF3B4B;
--color-3: #2C7A7B;
--color-4: #E6B655;
--color-5: #2A2723;
--color-bg: #F5F0E6;
--color-surface: #FBF7F1;
--color-border: #DED7CA;
--color-text: #2A2723;
--color-muted: #6F6B67;
--color-primary: #BF3B4B;
--color-on-primary: #FFFFFF;
--color-accent: #2C7A7B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0E;
--color-surface: #1A1918;
--color-border: #302D29;
--color-text: #F5F0E6;
--color-muted: #8C877E;
--color-primary: #BF3B4B;
--color-on-primary: #FFFFFF;
--color-accent: #2C7A7B;
--color-on-accent: #FFFFFF;
}
}
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 #2A2723 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | 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 | 13.09:1 | AAA pass 4.5:1 | |
| Text on surface | 13.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 5.33:1 | AA pass 4.5:1 | |
| Label on accent | 5.03:1 | AA pass 4.5:1 | |
| Primary on background | 4.69:1 | AA pass 3:1 | |
| Accent on background | 4.43:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.86:1 | AAA pass 4.5:1 | |
| Text on surface | 15.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.36:1 | AA pass 4.5:1 | |
| Label on primary | 5.33:1 | AA pass 4.5:1 | |
| Label on accent | 5.03:1 | AA pass 4.5:1 | |
| Primary on background | 3.59:1 | AA Large pass 3:1 | |
| Accent on background | 3.81: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 | #F5F0E6 (Text 1) | #BF3B4B (Text 2) | #2C7A7B (Text 3) | #E6B655 (Text 4) | #2A2723 (Text 5) |
|---|---|---|---|---|---|
| #F5F0E6 | Same color | 4.69AA | 4.43AA Large | 1.65— | 13.09AAA |
| #BF3B4B | 4.69AA | Same color | 1.06— | 2.84— | 2.79— |
| #2C7A7B | 4.43AA Large | 1.06— | Same color | 2.68— | 2.96— |
| #E6B655 | 1.65— | 2.84— | 2.68— | Same color | 7.92AAA |
| #2A2723 | 13.09AAA | 2.79— | 2.96— | 7.92AAA | Same color |
Shades
Shades and tints (50–950)
