PreviewingGo to this paletteOpen in generator
Code
/* Cherry Petal — colorset.net */
:root {
--color-1: #FFB7C5;
--color-2: #FFC8D5;
--color-3: #FFD6E5;
--color-4: #FFE5F0;
--color-5: #FFF3F8;
--color-bg: #FFF3F8;
--color-surface: #F6EAEF;
--color-border: #E0D0D6;
--color-text: #763A48;
--color-muted: #806268;
--color-primary: #A56472;
--color-on-primary: #FFFFFF;
--color-accent: #8F8489;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C090D;
--color-surface: #271217;
--color-border: #3F252B;
--color-text: #FFF3F8;
--color-muted: #93888C;
--color-primary: #FFB7C5;
--color-on-primary: #1C090D;
--color-accent: #FFD6E5;
--color-on-accent: #1C090D;
}
}
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 #FFB7C5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFB7C5 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFB7C5 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFB7C5 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.75:1 | AAA pass 4.5:1 | |
| Text on surface | 16.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.61:1 | AA pass 4.5:1 | |
| Label on primary | 11.73:1 | AAA pass 4.5:1 | |
| Label on accent | 14.62:1 | AAA pass 4.5:1 | |
| Primary on background | 11.73:1 | AAA pass 3:1 | |
| Accent on background | 14.62: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 | #FFB7C5 (Text 1) | #FFC8D5 (Text 2) | #FFD6E5 (Text 3) | #FFE5F0 (Text 4) | #FFF3F8 (Text 5) |
|---|---|---|---|---|---|
| #FFB7C5 | Same color | 1.13— | 1.25— | 1.38— | 1.51— |
| #FFC8D5 | 1.13— | Same color | 1.11— | 1.22— | 1.34— |
| #FFD6E5 | 1.25— | 1.11— | Same color | 1.11— | 1.21— |
| #FFE5F0 | 1.38— | 1.22— | 1.11— | Same color | 1.10— |
| #FFF3F8 | 1.51— | 1.34— | 1.21— | 1.10— | Same color |
Shades
Shades and tints (50–950)
