PreviewingGo to this paletteOpen in generator
Code
/* Rose Petal — colorset.net */
:root {
--color-1: #F8BBD9;
--color-2: #F5B7B1;
--color-3: #F1948A;
--color-4: #EC7063;
--color-5: #E8743B;
--color-bg: #FFF3F8;
--color-surface: #F9E8F0;
--color-border: #E2CFD8;
--color-text: #763C21;
--color-muted: #7F6458;
--color-primary: #C2510D;
--color-on-primary: #FFFFFF;
--color-accent: #AF7794;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A03;
--color-surface: #27140B;
--color-border: #3F271D;
--color-text: #EAC3D5;
--color-muted: #967987;
--color-primary: #E8743B;
--color-on-primary: #1C0A03;
--color-accent: #F1948A;
--color-on-accent: #1C0A03;
}
}
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 #F8BBD9 | adjusted for contrast · from #E8743B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E8743B | adjusted for contrast · from #F8BBD9 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8743B | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EC7063 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.97:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 5.89:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.12:1 | AAA pass 4.5:1 | |
| Text on surface | 11.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.39:1 | AA pass 4.5:1 | |
| Label on accent | 8.54:1 | AAA pass 4.5:1 | |
| Primary on background | 6.39:1 | AA pass 3:1 | |
| Accent on background | 8.54: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 | #F8BBD9 (Text 1) | #F5B7B1 (Text 2) | #F1948A (Text 3) | #EC7063 (Text 4) | #E8743B (Text 5) |
|---|---|---|---|---|---|
| #F8BBD9 | Same color | 1.07— | 1.40— | 1.85— | 1.87— |
| #F5B7B1 | 1.07— | Same color | 1.32— | 1.74— | 1.76— |
| #F1948A | 1.40— | 1.32— | Same color | 1.32— | 1.34— |
| #EC7063 | 1.85— | 1.74— | 1.32— | Same color | 1.01— |
| #E8743B | 1.87— | 1.76— | 1.34— | 1.01— | Same color |
Shades
Shades and tints (50–950)
