PreviewingGo to this paletteOpen in generator
Code
/* Pop Princess — colorset.net */
:root {
--color-1: #FDEFF8;
--color-2: #D63AAF;
--color-3: #FFC93C;
--color-4: #F5C4E6;
--color-5: #2E1430;
--color-bg: #FDEFF8;
--color-surface: #FFF9FD;
--color-border: #E6D5E0;
--color-text: #2E1430;
--color-muted: #7D697E;
--color-primary: #CB2EA5;
--color-on-primary: #FFFFFF;
--color-accent: #AF8600;
--color-on-accent: #2E1430;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2E1430;
--color-surface: #3A1F3C;
--color-border: #4B394C;
--color-text: #FDEFF8;
--color-muted: #9B8E97;
--color-primary: #CB2EA5;
--color-on-primary: #FFFFFF;
--color-accent: #FFC93C;
--color-on-accent: #2E1430;
}
}
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 #D63AAF | adjusted for contrast · from #D63AAF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFC93C | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.00:1 | AAA pass 4.5:1 | |
| Text on surface | 16.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.50:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 4.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.00:1 | AAA pass 4.5:1 | |
| Text on surface | 13.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 10.86:1 | AAA pass 4.5:1 | |
| Primary on background | 3.55:1 | AA Large pass 3:1 | |
| Accent on background | 10.86: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 | #FDEFF8 (Text 1) | #D63AAF (Text 2) | #FFC93C (Text 3) | #F5C4E6 (Text 4) | #2E1430 (Text 5) |
|---|---|---|---|---|---|
| #FDEFF8 | Same color | 3.71AA Large | 1.38— | 1.36— | 15.00AAA |
| #D63AAF | 3.71AA Large | Same color | 2.69— | 2.74— | 4.04AA Large |
| #FFC93C | 1.38— | 2.69— | Same color | 1.02— | 10.86AAA |
| #F5C4E6 | 1.36— | 2.74— | 1.02— | Same color | 11.06AAA |
| #2E1430 | 15.00AAA | 4.04AA Large | 10.86AAA | 11.06AAA | Same color |
Shades
Shades and tints (50–950)
