PreviewingGo to this paletteOpen in generator
Code
/* Cyber Sunset — colorset.net */
:root {
--color-1: #0E0719;
--color-2: #FF3963;
--color-3: #FF9137;
--color-4: #CB36D6;
--color-5: #FBE7D8;
--color-bg: #FBE7D8;
--color-surface: #FCF0E7;
--color-border: #E5CEBD;
--color-text: #0E0719;
--color-muted: #615971;
--color-primary: #C42DCF;
--color-on-primary: #FFFFFF;
--color-accent: #B45D00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0719;
--color-surface: #181124;
--color-border: #2C243A;
--color-text: #FBE7D8;
--color-muted: #917F71;
--color-primary: #C42DCF;
--color-on-primary: #FFFFFF;
--color-accent: #FF9137;
--color-on-accent: #0E0719;
}
}
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 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CB36D6 | adjusted for contrast · from #CB36D6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF3963 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.48:1 | AAA pass 4.5:1 | |
| Text on surface | 17.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.52:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.66:1 | AA pass 4.5:1 | |
| Primary on background | 3.79:1 | AA Large pass 3:1 | |
| Accent on background | 3.89:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.48:1 | AAA pass 4.5:1 | |
| Text on surface | 15.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 8.80:1 | AAA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 8.80: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 | #0E0719 (Text 1) | #FF3963 (Text 2) | #FF9137 (Text 3) | #CB36D6 (Text 4) | #FBE7D8 (Text 5) |
|---|---|---|---|---|---|
| #0E0719 | Same color | 5.66AA | 8.80AAA | 4.74AA | 16.48AAA |
| #FF3963 | 5.66AA | Same color | 1.56— | 1.19— | 2.91— |
| #FF9137 | 8.80AAA | 1.56— | Same color | 1.86— | 1.87— |
| #CB36D6 | 4.74AA | 1.19— | 1.86— | Same color | 3.48AA Large |
| #FBE7D8 | 16.48AAA | 2.91— | 1.87— | 3.48AA Large | Same color |
Shades
Shades and tints (50–950)
