PreviewingGo to this paletteOpen in generator
Code
/* Snow Lace — colorset.net */
:root {
--color-1: #F8F8FF;
--color-2: #FAFAFA;
--color-3: #FCFCFF;
--color-4: #FEFEFE;
--color-5: #FFFAFA;
--color-bg: #FEFEFE;
--color-surface: #F5F5F5;
--color-border: #DFDBDC;
--color-text: #525258;
--color-muted: #6F6F75;
--color-primary: #8C8C92;
--color-on-primary: #000000;
--color-accent: #5B5B5F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F11;
--color-surface: #19191B;
--color-border: #2D2D32;
--color-text: #FEFEFE;
--color-muted: #8F8F8F;
--color-primary: #F8F8FF;
--color-on-primary: #0F0F11;
--color-accent: #C1C1C6;
--color-on-accent: #0F0F11;
}
}
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 4 | adjusted for contrast · from #F8F8FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F8F8FF | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F8F8FF | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F8F8FF | adjusted for contrast · from #F8F8FF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.28:1 | AA pass 4.5:1 | |
| Label on accent | 6.76:1 | AA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 6.70:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.99:1 | AAA pass 4.5:1 | |
| Text on surface | 17.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 18.11:1 | AAA pass 4.5:1 | |
| Label on accent | 10.68:1 | AAA pass 4.5:1 | |
| Primary on background | 18.11:1 | AAA pass 3:1 | |
| Accent on background | 10.68: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 | #F8F8FF (Text 1) | #FAFAFA (Text 2) | #FCFCFF (Text 3) | #FEFEFE (Text 4) | #FFFAFA (Text 5) |
|---|---|---|---|---|---|
| #F8F8FF | Same color | 1.01— | 1.03— | 1.05— | 1.02— |
| #FAFAFA | 1.01— | Same color | 1.02— | 1.03— | 1.01— |
| #FCFCFF | 1.03— | 1.02— | Same color | 1.02— | 1.01— |
| #FEFEFE | 1.05— | 1.03— | 1.02— | Same color | 1.03— |
| #FFFAFA | 1.02— | 1.01— | 1.01— | 1.03— | Same color |
Shades
Shades and tints (50–950)
