PreviewingGo to this paletteOpen in generator
Code
/* Quartz White — colorset.net */
:root {
--color-1: #F7F5F2;
--color-2: #F9F8F6;
--color-3: #FBFBFA;
--color-4: #FDFDFE;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #545250;
--color-muted: #72706D;
--color-primary: #8E8C89;
--color-on-primary: #000000;
--color-accent: #5C5B58;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0F;
--color-surface: #1A1918;
--color-border: #302D2A;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #F7F5F2;
--color-on-primary: #100F0F;
--color-accent: #BFBEBB;
--color-on-accent: #100F0F;
}
}
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 #F7F5F2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F7F5F2 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F7F5F2 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F7F5F2 | adjusted for contrast · from #F7F5F2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 6.26:1 | AA pass 4.5:1 | |
| Label on accent | 6.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.14:1 | AAA pass 4.5:1 | |
| Text on surface | 17.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 17.59:1 | AAA pass 4.5:1 | |
| Label on accent | 10.30:1 | AAA pass 4.5:1 | |
| Primary on background | 17.59:1 | AAA pass 3:1 | |
| Accent on background | 10.30: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 | #F7F5F2 (Text 1) | #F9F8F6 (Text 2) | #FBFBFA (Text 3) | #FDFDFE (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #F7F5F2 | Same color | 1.03— | 1.05— | 1.07— | 1.09— |
| #F9F8F6 | 1.03— | Same color | 1.03— | 1.04— | 1.06— |
| #FBFBFA | 1.05— | 1.03— | Same color | 1.02— | 1.04— |
| #FDFDFE | 1.07— | 1.04— | 1.02— | Same color | 1.02— |
| #FFFFFF | 1.09— | 1.06— | 1.04— | 1.02— | Same color |
Shades
Shades and tints (50–950)
