PreviewingGo to this paletteOpen in generator
Code
/* Pearl Seashell — colorset.net */
:root {
--color-1: #EAE0C8;
--color-2: #F0EAD6;
--color-3: #FAF0E6;
--color-4: #FFF5EE;
--color-5: #FFFAF0;
--color-bg: #FFFAF0;
--color-surface: #F6F1E7;
--color-border: #DED8CB;
--color-text: #574F3A;
--color-muted: #756C56;
--color-primary: #948B75;
--color-on-primary: #000000;
--color-accent: #615A48;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F09;
--color-surface: #1C1912;
--color-border: #322D23;
--color-text: #FFFAF0;
--color-muted: #918D84;
--color-primary: #EAE0C8;
--color-on-primary: #120F09;
--color-accent: #B2AA96;
--color-on-accent: #120F09;
}
}
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 #EAE0C8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #EAE0C8 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EAE0C8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EAE0C8 | adjusted for contrast · from #EAE0C8 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.21:1 | AA pass 4.5:1 | |
| Label on accent | 6.85:1 | AA pass 4.5:1 | |
| Primary on background | 3.25:1 | AA Large pass 3:1 | |
| Accent on background | 6.59:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.38:1 | AAA pass 4.5:1 | |
| Text on surface | 16.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.78:1 | AA pass 4.5:1 | |
| Label on primary | 14.57:1 | AAA pass 4.5:1 | |
| Label on accent | 8.27:1 | AAA pass 4.5:1 | |
| Primary on background | 14.57:1 | AAA pass 3:1 | |
| Accent on background | 8.27: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 | #EAE0C8 (Text 1) | #F0EAD6 (Text 2) | #FAF0E6 (Text 3) | #FFF5EE (Text 4) | #FFFAF0 (Text 5) |
|---|---|---|---|---|---|
| #EAE0C8 | Same color | 1.09— | 1.17— | 1.22— | 1.26— |
| #F0EAD6 | 1.09— | Same color | 1.07— | 1.12— | 1.16— |
| #FAF0E6 | 1.17— | 1.07— | Same color | 1.05— | 1.08— |
| #FFF5EE | 1.22— | 1.12— | 1.05— | Same color | 1.03— |
| #FFFAF0 | 1.26— | 1.16— | 1.08— | 1.03— | Same color |
Shades
Shades and tints (50–950)
