PreviewingGo to this paletteOpen in generator
Code
/* Sunset Surf — colorset.net */
:root {
--color-1: #F84E3A;
--color-2: #F88B00;
--color-3: #CF48AB;
--color-4: #7855DF;
--color-5: #261D57;
--color-bg: #FFF5ED;
--color-surface: #F8EBE1;
--color-border: #E2D1C5;
--color-text: #261F52;
--color-muted: #696983;
--color-primary: #7855DF;
--color-on-primary: #FFFFFF;
--color-accent: #CC7200;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0D1E;
--color-surface: #181729;
--color-border: #2C2B41;
--color-text: #C3A48C;
--color-muted: #967E6C;
--color-primary: #7855DF;
--color-on-primary: #FFFFFF;
--color-accent: #F88B00;
--color-on-accent: #0E0D1E;
}
}
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 #F88B00 | adjusted for contrast · from #261D57 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #261D57 | adjusted for contrast · from #F88B00 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F88B00 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.95:1 | AAA pass 4.5:1 | |
| Text on surface | 12.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.04:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.69:1 | AA pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.23:1 | AAA pass 4.5:1 | |
| Text on surface | 7.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.04:1 | AA pass 4.5:1 | |
| Label on accent | 7.93:1 | AAA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 7.93: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 | #F84E3A (Text 1) | #F88B00 (Text 2) | #CF48AB (Text 3) | #7855DF (Text 4) | #261D57 (Text 5) |
|---|---|---|---|---|---|
| #F84E3A | Same color | 1.41— | 1.19— | 1.48— | 4.40AA Large |
| #F88B00 | 1.41— | Same color | 1.68— | 2.09— | 6.22AA |
| #CF48AB | 1.19— | 1.68— | Same color | 1.24— | 3.70AA Large |
| #7855DF | 1.48— | 2.09— | 1.24— | Same color | 2.98— |
| #261D57 | 4.40AA Large | 6.22AA | 3.70AA Large | 2.98— | Same color |
Shades
Shades and tints (50–950)
