PreviewingGo to this paletteOpen in generator
Code
/* Baby Pastel — colorset.net */
:root {
--color-1: #FFE0E1;
--color-2: #FFE5CC;
--color-3: #FFFACD;
--color-4: #E0FFE0;
--color-5: #E0F0FF;
--color-bg: #F9F7EA;
--color-surface: #EFEEE1;
--color-border: #D7D6C5;
--color-text: #5F4647;
--color-muted: #806566;
--color-primary: #8F8A61;
--color-on-primary: #000000;
--color-accent: #7C8A98;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150D0D;
--color-surface: #1F1717;
--color-border: #372A2B;
--color-text: #FEFAD3;
--color-muted: #908D71;
--color-primary: #FFFACD;
--color-on-primary: #150D0D;
--color-accent: #E0F0FF;
--color-on-accent: #150D0D;
}
}
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 | adjusted for contrast · from #FFFACD | adjusted for contrast · from #FFE0E1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFE0E1 | adjusted for contrast · from #FFFACD |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFE5CC | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFE0E1 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.96:1 | AAA pass 4.5:1 | |
| Text on surface | 7.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 5.98:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.10:1 | AAA pass 4.5:1 | |
| Text on surface | 16.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.69:1 | AA pass 4.5:1 | |
| Label on primary | 18.08:1 | AAA pass 4.5:1 | |
| Label on accent | 16.51:1 | AAA pass 4.5:1 | |
| Primary on background | 18.08:1 | AAA pass 3:1 | |
| Accent on background | 16.51: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 | #FFE0E1 (Text 1) | #FFE5CC (Text 2) | #FFFACD (Text 3) | #E0FFE0 (Text 4) | #E0F0FF (Text 5) |
|---|---|---|---|---|---|
| #FFE0E1 | Same color | 1.02— | 1.17— | 1.15— | 1.06— |
| #FFE5CC | 1.02— | Same color | 1.14— | 1.13— | 1.04— |
| #FFFACD | 1.17— | 1.14— | Same color | 1.01— | 1.10— |
| #E0FFE0 | 1.15— | 1.13— | 1.01— | Same color | 1.08— |
| #E0F0FF | 1.06— | 1.04— | 1.10— | 1.08— | Same color |
Shades
Shades and tints (50–950)
