PreviewingGo to this paletteOpen in generator
Code
/* Space Rainbow — colorset.net */
:root {
--color-1: #FF6B6B;
--color-2: #4ECDC4;
--color-3: #45B7D1;
--color-4: #96CEB4;
--color-5: #FECA57;
--color-bg: #FDF6E8;
--color-surface: #F4EDDF;
--color-border: #DDD4C3;
--color-text: #7A3A38;
--color-muted: #826361;
--color-primary: #E95759;
--color-on-primary: #000000;
--color-accent: #00857E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0908;
--color-surface: #281312;
--color-border: #402624;
--color-text: #E2D0AE;
--color-muted: #8F8269;
--color-primary: #FF6B6B;
--color-on-primary: #1C0908;
--color-accent: #4ECDC4;
--color-on-accent: #1C0908;
}
}
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 #FECA57 | adjusted for contrast · from #FF6B6B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF6B6B | adjusted for contrast · from #FECA57 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF6B6B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #45B7D1 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.19:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.70:1 | AAA pass 4.5:1 | |
| Text on surface | 11.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 6.93:1 | AA pass 4.5:1 | |
| Label on accent | 9.94:1 | AAA pass 4.5:1 | |
| Primary on background | 6.93:1 | AA pass 3:1 | |
| Accent on background | 9.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 | #FF6B6B (Text 1) | #4ECDC4 (Text 2) | #45B7D1 (Text 3) | #96CEB4 (Text 4) | #FECA57 (Text 5) |
|---|---|---|---|---|---|
| #FF6B6B | Same color | 1.43— | 1.18— | 1.56— | 1.82— |
| #4ECDC4 | 1.43— | Same color | 1.21— | 1.09— | 1.27— |
| #45B7D1 | 1.18— | 1.21— | Same color | 1.32— | 1.54— |
| #96CEB4 | 1.56— | 1.09— | 1.32— | Same color | 1.17— |
| #FECA57 | 1.82— | 1.27— | 1.54— | 1.17— | Same color |
Shades
Shades and tints (50–950)
