PreviewingGo to this paletteOpen in generator
Code
/* Story Time — colorset.net */
:root {
--color-1: #FFF8F0;
--color-2: #F7A8A8;
--color-3: #A0C4F2;
--color-4: #B8E0B0;
--color-5: #3F3A52;
--color-bg: #FFF8F0;
--color-surface: #F6EFE7;
--color-border: #DFD6CB;
--color-text: #3F3A52;
--color-muted: #6E6982;
--color-primary: #AA6263;
--color-on-primary: #FFFFFF;
--color-accent: #6A8CB7;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100E16;
--color-surface: #1A1820;
--color-border: #2E2C38;
--color-text: #FFF8F0;
--color-muted: #928B84;
--color-primary: #F7A8A8;
--color-on-primary: #100E16;
--color-accent: #68637D;
--color-on-accent: #FFFFFF;
}
}
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 #3F3A52 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F7A8A8 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A0C4F2 | adjusted for contrast · from #3F3A52 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.29:1 | AAA pass 4.5:1 | |
| Text on surface | 9.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 6.05:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.18:1 | AAA pass 4.5:1 | |
| Text on surface | 16.68:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.70:1 | AA pass 4.5:1 | |
| Label on primary | 10.14:1 | AAA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 10.14:1 | AAA pass 3:1 | |
| Accent on background | 3.35:1 | AA Large 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 | #FFF8F0 (Text 1) | #F7A8A8 (Text 2) | #A0C4F2 (Text 3) | #B8E0B0 (Text 4) | #3F3A52 (Text 5) |
|---|---|---|---|---|---|
| #FFF8F0 | Same color | 1.79— | 1.71— | 1.39— | 10.29AAA |
| #F7A8A8 | 1.79— | Same color | 1.05— | 1.29— | 5.74AA |
| #A0C4F2 | 1.71— | 1.05— | Same color | 1.23— | 6.02AA |
| #B8E0B0 | 1.39— | 1.29— | 1.23— | Same color | 7.39AAA |
| #3F3A52 | 10.29AAA | 5.74AA | 6.02AA | 7.39AAA | Same color |
Shades
Shades and tints (50–950)
