PreviewingGo to this paletteOpen in generator
Code
/* Sunset Pink — colorset.net */
:root {
--color-1: #FF69B4;
--color-2: #FF1493;
--color-3: #FF6347;
--color-4: #FFA07A;
--color-5: #FFCCCB;
--color-bg: #FFF4F3;
--color-surface: #F9E9E9;
--color-border: #E3CFCF;
--color-text: #773A52;
--color-muted: #80636D;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #B45C38;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0810;
--color-surface: #26121A;
--color-border: #3E252E;
--color-text: #FACECD;
--color-muted: #997979;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #FFA07A;
--color-on-accent: #1B0810;
}
}
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 #FFCCCB | adjusted for contrast · from #FF1493 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF1493 | adjusted for contrast · from #FFCCCB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF1493 | adjusted for contrast · from #FF1493 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF6347 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.57:1 | AAA pass 4.5:1 | |
| Text on surface | 12.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 9.70:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 9.70: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 | #FF69B4 (Text 1) | #FF1493 (Text 2) | #FF6347 (Text 3) | #FFA07A (Text 4) | #FFCCCB (Text 5) |
|---|---|---|---|---|---|
| #FF69B4 | Same color | 1.37— | 1.11— | 1.33— | 1.86— |
| #FF1493 | 1.37— | Same color | 1.23— | 1.83— | 2.56— |
| #FF6347 | 1.11— | 1.23— | Same color | 1.48— | 2.07— |
| #FFA07A | 1.33— | 1.83— | 1.48— | Same color | 1.40— |
| #FFCCCB | 1.86— | 2.56— | 2.07— | 1.40— | Same color |
Shades
Shades and tints (50–950)
