PreviewingGo to this paletteOpen in generator
Code
/* Sakura Petal — colorset.net */
:root {
--color-1: #FFB6C1;
--color-2: #FFC0CB;
--color-3: #FFCCCB;
--color-4: #FFE4E1;
--color-5: #F0F8FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #793C48;
--color-muted: #826368;
--color-primary: #A5646F;
--color-on-primary: #FFFFFF;
--color-accent: #82898F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F252A;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #FFB6C1;
--color-on-primary: #1C080C;
--color-accent: #FFE4E1;
--color-on-accent: #1C080C;
}
}
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 5 | adjusted for contrast · from #FFB6C1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFB6C1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFB6C1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFB6C1 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.97:1 | AAA pass 4.5:1 | |
| Text on surface | 16.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.66:1 | AA pass 4.5:1 | |
| Label on primary | 11.67:1 | AAA pass 4.5:1 | |
| Label on accent | 16.01:1 | AAA pass 4.5:1 | |
| Primary on background | 11.67:1 | AAA pass 3:1 | |
| Accent on background | 16.01: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 | #FFB6C1 (Text 1) | #FFC0CB (Text 2) | #FFCCCB (Text 3) | #FFE4E1 (Text 4) | #F0F8FF (Text 5) |
|---|---|---|---|---|---|
| #FFB6C1 | Same color | 1.07— | 1.16— | 1.37— | 1.54— |
| #FFC0CB | 1.07— | Same color | 1.08— | 1.28— | 1.43— |
| #FFCCCB | 1.16— | 1.08— | Same color | 1.18— | 1.33— |
| #FFE4E1 | 1.37— | 1.28— | 1.18— | Same color | 1.12— |
| #F0F8FF | 1.54— | 1.43— | 1.33— | 1.12— | Same color |
Shades
Shades and tints (50–950)
