PreviewingGo to this paletteOpen in generator
Code
/* Peony — colorset.net */
:root {
--color-1: #FCF2F4;
--color-2: #D46A8C;
--color-3: #7F9E7A;
--color-4: #F4D2DB;
--color-5: #2C1F25;
--color-bg: #FCF2F4;
--color-surface: #FFFBFC;
--color-border: #E6D8DB;
--color-text: #2C1F25;
--color-muted: #7B6B72;
--color-primary: #D46A8C;
--color-on-primary: #2C1F25;
--color-accent: #769571;
--color-on-accent: #2C1F25;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2C1F25;
--color-surface: #372A30;
--color-border: #503E47;
--color-text: #FCF2F4;
--color-muted: #9C9394;
--color-primary: #D46A8C;
--color-on-primary: #2C1F25;
--color-accent: #7F9E7A;
--color-on-accent: #2C1F25;
}
}
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 | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7F9E7A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.40:1 | AAA pass 4.5:1 | |
| Text on surface | 15.38:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 4.74:1 | AA pass 4.5:1 | |
| Primary on background | 3.07:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.40:1 | AAA pass 4.5:1 | |
| Text on surface | 12.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 5.32:1 | AA pass 4.5:1 | |
| Primary on background | 4.69:1 | AA pass 3:1 | |
| Accent on background | 5.32:1 | AA 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 | #FCF2F4 (Text 1) | #D46A8C (Text 2) | #7F9E7A (Text 3) | #F4D2DB (Text 4) | #2C1F25 (Text 5) |
|---|---|---|---|---|---|
| #FCF2F4 | Same color | 3.07AA Large | 2.71— | 1.27— | 14.40AAA |
| #D46A8C | 3.07AA Large | Same color | 1.13— | 2.42— | 4.69AA |
| #7F9E7A | 2.71— | 1.13— | Same color | 2.13— | 5.32AA |
| #F4D2DB | 1.27— | 2.42— | 2.13— | Same color | 11.35AAA |
| #2C1F25 | 14.40AAA | 4.69AA | 5.32AA | 11.35AAA | Same color |
Shades
Shades and tints (50–950)
