PreviewingGo to this paletteOpen in generator
Code
/* Pearl Cream — colorset.net */
:root {
--color-1: #FAF0E6;
--color-2: #F5EBE0;
--color-3: #F0E6DA;
--color-4: #EBE1D4;
--color-5: #E6DCCE;
--color-bg: #FAF0E6;
--color-surface: #FEF8F2;
--color-border: #E3D7CA;
--color-text: #564E42;
--color-muted: #746B5F;
--color-primary: #938A7D;
--color-on-primary: #000000;
--color-accent: #60594F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0B;
--color-surface: #1C1915;
--color-border: #322D26;
--color-text: #FAF0E6;
--color-muted: #90877E;
--color-primary: #E6DCCE;
--color-on-primary: #120F0B;
--color-accent: #AEA69B;
--color-on-accent: #120F0B;
}
}
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 #E6DCCE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6DCCE | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6DCCE | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6DCCE | adjusted for contrast · from #E6DCCE |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.28:1 | AAA pass 4.5:1 | |
| Text on surface | 7.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 6.17:1 | AA pass 4.5:1 | |
| Label on accent | 6.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 6.14:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.99:1 | AAA pass 4.5:1 | |
| Text on surface | 15.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 14.10:1 | AAA pass 4.5:1 | |
| Label on accent | 7.94:1 | AAA pass 4.5:1 | |
| Primary on background | 14.10:1 | AAA pass 3:1 | |
| Accent on background | 7.94: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 | #FAF0E6 (Text 1) | #F5EBE0 (Text 2) | #F0E6DA (Text 3) | #EBE1D4 (Text 4) | #E6DCCE (Text 5) |
|---|---|---|---|---|---|
| #FAF0E6 | Same color | 1.05— | 1.10— | 1.15— | 1.21— |
| #F5EBE0 | 1.05— | Same color | 1.05— | 1.10— | 1.15— |
| #F0E6DA | 1.10— | 1.05— | Same color | 1.05— | 1.10— |
| #EBE1D4 | 1.15— | 1.10— | 1.05— | Same color | 1.05— |
| #E6DCCE | 1.21— | 1.15— | 1.10— | 1.05— | Same color |
Shades
Shades and tints (50–950)
