PreviewingGo to this paletteOpen in generator
Code
/* Quartz Petal — colorset.net */
:root {
--color-1: #F7CAC9;
--color-2: #F9D3D2;
--color-3: #FBDCDB;
--color-4: #FDE5E4;
--color-5: #FFEEED;
--color-bg: #FFEEED;
--color-surface: #FFF8F8;
--color-border: #E9D4D3;
--color-text: #6B4646;
--color-muted: #846565;
--color-primary: #A97F7F;
--color-on-primary: #000000;
--color-accent: #715050;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170C0C;
--color-surface: #221616;
--color-border: #3A2929;
--color-text: #FFEEED;
--color-muted: #948584;
--color-primary: #F7CAC9;
--color-on-primary: #170C0C;
--color-accent: #BB9696;
--color-on-accent: #170C0C;
}
}
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 5 | adjusted for contrast · from #F7CAC9 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F7CAC9 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F7CAC9 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F7CAC9 | adjusted for contrast · from #F7CAC9 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.22:1 | AAA pass 4.5:1 | |
| Text on surface | 7.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 6.03:1 | AA pass 4.5:1 | |
| Label on accent | 7.08:1 | AAA pass 4.5:1 | |
| Primary on background | 3.10:1 | AA Large pass 3:1 | |
| Accent on background | 6.31:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.09:1 | AAA pass 4.5:1 | |
| Text on surface | 15.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.43:1 | AA pass 4.5:1 | |
| Label on primary | 13.02:1 | AAA pass 4.5:1 | |
| Label on accent | 7.23:1 | AAA pass 4.5:1 | |
| Primary on background | 13.02:1 | AAA pass 3:1 | |
| Accent on background | 7.23: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 | #F7CAC9 (Text 1) | #F9D3D2 (Text 2) | #FBDCDB (Text 3) | #FDE5E4 (Text 4) | #FFEEED (Text 5) |
|---|---|---|---|---|---|
| #F7CAC9 | Same color | 1.07— | 1.15— | 1.23— | 1.31— |
| #F9D3D2 | 1.07— | Same color | 1.07— | 1.15— | 1.22— |
| #FBDCDB | 1.15— | 1.07— | Same color | 1.07— | 1.14— |
| #FDE5E4 | 1.23— | 1.15— | 1.07— | Same color | 1.07— |
| #FFEEED | 1.31— | 1.22— | 1.14— | 1.07— | Same color |
Shades
Shades and tints (50–950)
