PreviewingGo to this paletteOpen in generator
Code
/* Rose Afterglow — colorset.net */
:root {
--color-1: #FBEFF0;
--color-2: #D9577A;
--color-3: #E9A65B;
--color-4: #F1C8CF;
--color-5: #2E1A24;
--color-bg: #FBEFF0;
--color-surface: #FFF8F8;
--color-border: #E5D5D6;
--color-text: #2E1A24;
--color-muted: #7F6671;
--color-primary: #C8476B;
--color-on-primary: #FFFFFF;
--color-accent: #BE7E2F;
--color-on-accent: #2E1A24;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2E1A24;
--color-surface: #3A252F;
--color-border: #523945;
--color-text: #FBEFF0;
--color-muted: #9B9091;
--color-primary: #C8476B;
--color-on-primary: #FFFFFF;
--color-accent: #E9A65B;
--color-on-accent: #2E1A24;
}
}
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 #D9577A | adjusted for contrast · from #D9577A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E9A65B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.51:1 | AAA pass 4.5:1 | |
| Text on surface | 15.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 4.82:1 | AA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.51:1 | AAA pass 4.5:1 | |
| Text on surface | 12.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 7.81:1 | AAA pass 4.5:1 | |
| Primary on background | 3.54:1 | AA Large pass 3:1 | |
| Accent on background | 7.81: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 | #FBEFF0 (Text 1) | #D9577A (Text 2) | #E9A65B (Text 3) | #F1C8CF (Text 4) | #2E1A24 (Text 5) |
|---|---|---|---|---|---|
| #FBEFF0 | Same color | 3.34AA Large | 1.86— | 1.35— | 14.51AAA |
| #D9577A | 3.34AA Large | Same color | 1.80— | 2.49— | 4.34AA Large |
| #E9A65B | 1.86— | 1.80— | Same color | 1.38— | 7.81AAA |
| #F1C8CF | 1.35— | 2.49— | 1.38— | Same color | 10.78AAA |
| #2E1A24 | 14.51AAA | 4.34AA Large | 7.81AAA | 10.78AAA | Same color |
Shades
Shades and tints (50–950)
