PreviewingGo to this paletteOpen in generator
Code
/* Sunset Daiquiri — colorset.net */
:root {
--color-1: #FFF1E6;
--color-2: #FF5D8F;
--color-3: #FF9B54;
--color-4: #6A4C93;
--color-5: #2B1A3A;
--color-bg: #FFF1E6;
--color-surface: #FFFAF6;
--color-border: #E9D8CA;
--color-text: #2B1A3A;
--color-muted: #766A83;
--color-primary: #F04F83;
--color-on-primary: #2B1A3A;
--color-accent: #6A4C93;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2B1A3A;
--color-surface: #362546;
--color-border: #4A3F55;
--color-text: #FFF1E6;
--color-muted: #9F9288;
--color-primary: #FF5D8F;
--color-on-primary: #2B1A3A;
--color-accent: #837096;
--color-on-accent: #000000;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF5D8F | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #6A4C93 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.47:1 | AAA pass 4.5:1 | |
| Text on surface | 15.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 6.85:1 | AA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 6.19:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.47:1 | AAA pass 4.5:1 | |
| Text on surface | 12.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.29:1 | AA pass 4.5:1 | |
| Label on primary | 5.50:1 | AA pass 4.5:1 | |
| Label on accent | 4.72:1 | AA pass 4.5:1 | |
| Primary on background | 5.50:1 | AA pass 3:1 | |
| Accent on background | 3.60: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 | #FFF1E6 (Text 1) | #FF5D8F (Text 2) | #FF9B54 (Text 3) | #6A4C93 (Text 4) | #2B1A3A (Text 5) |
|---|---|---|---|---|---|
| #FFF1E6 | Same color | 2.63— | 1.88— | 6.19AA | 14.47AAA |
| #FF5D8F | 2.63— | Same color | 1.40— | 2.35— | 5.50AA |
| #FF9B54 | 1.88— | 1.40— | Same color | 3.28AA Large | 7.68AAA |
| #6A4C93 | 6.19AA | 2.35— | 3.28AA Large | Same color | 2.34— |
| #2B1A3A | 14.47AAA | 5.50AA | 7.68AAA | 2.34— | Same color |
Shades
Shades and tints (50–950)
