PreviewingGo to this paletteOpen in generator
Code
/* Pastel Sprint — colorset.net */
:root {
--color-1: #FDF7F2;
--color-2: #F3A6B5;
--color-3: #8FC6E8;
--color-4: #EFC75E;
--color-5: #3D3446;
--color-bg: #FDF7F2;
--color-surface: #F4EEE9;
--color-border: #DDD4CD;
--color-text: #3D3446;
--color-muted: #71677B;
--color-primary: #927100;
--color-on-primary: #FFFFFF;
--color-accent: #588EAE;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110E14;
--color-surface: #1B181E;
--color-border: #302B35;
--color-text: #FDF7F2;
--color-muted: #908B86;
--color-primary: #EFC75E;
--color-on-primary: #110E14;
--color-accent: #8FC6E8;
--color-on-accent: #110E14;
}
}
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 #3D3446 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #3D3446 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8FC6E8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.11:1 | AAA pass 4.5:1 | |
| Text on surface | 10.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.90:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.02:1 | AAA pass 4.5:1 | |
| Text on surface | 16.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 11.85:1 | AAA pass 4.5:1 | |
| Label on accent | 10.40:1 | AAA pass 4.5:1 | |
| Primary on background | 11.85:1 | AAA pass 3:1 | |
| Accent on background | 10.40: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 | #FDF7F2 (Text 1) | #F3A6B5 (Text 2) | #8FC6E8 (Text 3) | #EFC75E (Text 4) | #3D3446 (Text 5) |
|---|---|---|---|---|---|
| #FDF7F2 | Same color | 1.81— | 1.73— | 1.52— | 11.11AAA |
| #F3A6B5 | 1.81— | Same color | 1.04— | 1.19— | 6.15AA |
| #8FC6E8 | 1.73— | 1.04— | Same color | 1.14— | 6.42AA |
| #EFC75E | 1.52— | 1.19— | 1.14— | Same color | 7.31AAA |
| #3D3446 | 11.11AAA | 6.15AA | 6.42AA | 7.31AAA | Same color |
Shades
Shades and tints (50–950)
