PreviewingGo to this paletteOpen in generator
Code
/* Pearl Sheen — colorset.net */
:root {
--color-1: #FDFEFE;
--color-2: #FBFCFC;
--color-3: #F8F9F9;
--color-4: #F4F6F6;
--color-5: #F0F3F4;
--color-bg: #FDFEFE;
--color-surface: #F4F5F5;
--color-border: #D7DDDD;
--color-text: #515454;
--color-muted: #6E7071;
--color-primary: #8B8D8E;
--color-on-primary: #000000;
--color-accent: #5A5C5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1010;
--color-surface: #191A1A;
--color-border: #2A2F30;
--color-text: #FDFEFE;
--color-muted: #8E8F8F;
--color-primary: #F0F3F4;
--color-on-primary: #0F1010;
--color-accent: #B9BCBC;
--color-on-accent: #0F1010;
}
}
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 #F0F3F4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F0F3F4 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F0F3F4 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F0F3F4 | adjusted for contrast · from #F0F3F4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.57:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 6.30:1 | AA pass 4.5:1 | |
| Label on accent | 6.73:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.66:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.86:1 | AAA pass 4.5:1 | |
| Text on surface | 17.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.88:1 | AA pass 4.5:1 | |
| Label on primary | 17.09:1 | AAA pass 4.5:1 | |
| Label on accent | 9.97:1 | AAA pass 4.5:1 | |
| Primary on background | 17.09:1 | AAA pass 3:1 | |
| Accent on background | 9.97: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 | #FDFEFE (Text 1) | #FBFCFC (Text 2) | #F8F9F9 (Text 3) | #F4F6F6 (Text 4) | #F0F3F4 (Text 5) |
|---|---|---|---|---|---|
| #FDFEFE | Same color | 1.02— | 1.04— | 1.07— | 1.10— |
| #FBFCFC | 1.02— | Same color | 1.03— | 1.06— | 1.08— |
| #F8F9F9 | 1.04— | 1.03— | Same color | 1.03— | 1.06— |
| #F4F6F6 | 1.07— | 1.06— | 1.03— | Same color | 1.03— |
| #F0F3F4 | 1.10— | 1.08— | 1.06— | 1.03— | Same color |
Shades
Shades and tints (50–950)
