PreviewingGo to this paletteOpen in generator
Code
/* Claret Petal — colorset.net */
:root {
--color-1: #722F37;
--color-2: #8B4049;
--color-3: #A0516D;
--color-4: #C06C84;
--color-5: #F4ACB7;
--color-bg: #FFF4F5;
--color-surface: #FAE8EB;
--color-border: #E5CFD1;
--color-text: #703138;
--color-muted: #826365;
--color-primary: #A0516D;
--color-on-primary: #FFFFFF;
--color-accent: #8B4049;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080A;
--color-surface: #271214;
--color-border: #402527;
--color-text: #E1B6BC;
--color-muted: #9B7B7F;
--color-primary: #A0516D;
--color-on-primary: #FFFFFF;
--color-accent: #D189A0;
--color-on-accent: #1C080A;
}
}
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 #F4ACB7 | adjusted for contrast · from #722F37 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #722F37 | adjusted for contrast · from #F4ACB7 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #C06C84 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.93:1 | AAA pass 4.5:1 | |
| Text on surface | 8.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 5.39:1 | AA pass 4.5:1 | |
| Label on accent | 7.17:1 | AAA pass 4.5:1 | |
| Primary on background | 5.01:1 | AA pass 3:1 | |
| Accent on background | 6.66:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.67:1 | AAA pass 4.5:1 | |
| Text on surface | 9.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.39:1 | AA pass 4.5:1 | |
| Label on accent | 7.16:1 | AAA pass 4.5:1 | |
| Primary on background | 3.58:1 | AA Large pass 3:1 | |
| Accent on background | 7.16: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 | #722F37 (Text 1) | #8B4049 (Text 2) | #A0516D (Text 3) | #C06C84 (Text 4) | #F4ACB7 (Text 5) |
|---|---|---|---|---|---|
| #722F37 | Same color | 1.34— | 1.79— | 2.63— | 5.25AA |
| #8B4049 | 1.34— | Same color | 1.33— | 1.95— | 3.91AA Large |
| #A0516D | 1.79— | 1.33— | Same color | 1.47— | 2.94— |
| #C06C84 | 2.63— | 1.95— | 1.47— | Same color | 2.00— |
| #F4ACB7 | 5.25AA | 3.91AA Large | 2.94— | 2.00— | Same color |
Shades
Shades and tints (50–950)
