PreviewingGo to this paletteOpen in generator
Code
/* Pearl Pink — colorset.net */
:root {
--color-1: #F7DFE6;
--color-2: #F9E7ED;
--color-3: #FBEFF4;
--color-4: #FDF7FB;
--color-5: #FEFCFD;
--color-bg: #FEFCFD;
--color-surface: #F5F3F4;
--color-border: #DFD9DC;
--color-text: #5F4B51;
--color-muted: #7D686E;
--color-primary: #9D878D;
--color-on-primary: #000000;
--color-accent: #68575C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140D0F;
--color-surface: #1E1719;
--color-border: #352B2E;
--color-text: #FEFCFD;
--color-muted: #8F8E8F;
--color-primary: #F7DFE6;
--color-on-primary: #140D0F;
--color-accent: #BDAAAF;
--color-on-accent: #140D0F;
}
}
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 #F7DFE6 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F7DFE6 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F7DFE6 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F7DFE6 | adjusted for contrast · from #F7DFE6 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04: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.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.62:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.79:1 | AAA pass 4.5:1 | |
| Text on surface | 17.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.88:1 | AA pass 4.5:1 | |
| Label on primary | 15.22:1 | AAA pass 4.5:1 | |
| Label on accent | 8.71:1 | AAA pass 4.5:1 | |
| Primary on background | 15.22:1 | AAA pass 3:1 | |
| Accent on background | 8.71: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 | #F7DFE6 (Text 1) | #F9E7ED (Text 2) | #FBEFF4 (Text 3) | #FDF7FB (Text 4) | #FEFCFD (Text 5) |
|---|---|---|---|---|---|
| #F7DFE6 | Same color | 1.06— | 1.13— | 1.19— | 1.23— |
| #F9E7ED | 1.06— | Same color | 1.06— | 1.12— | 1.16— |
| #FBEFF4 | 1.13— | 1.06— | Same color | 1.06— | 1.10— |
| #FDF7FB | 1.19— | 1.12— | 1.06— | Same color | 1.03— |
| #FEFCFD | 1.23— | 1.16— | 1.10— | 1.03— | Same color |
Shades
Shades and tints (50–950)
