PreviewingGo to this paletteOpen in generator
Code
/* Carnation Ribbon — colorset.net */
:root {
--color-1: #FFB6C1;
--color-2: #FFC0CB;
--color-3: #FFCCCB;
--color-4: #FFD8D8;
--color-5: #FFE4E5;
--color-bg: #FFE4E5;
--color-surface: #FFEEEF;
--color-border: #E9CACB;
--color-text: #763945;
--color-muted: #7F6165;
--color-primary: #A5646F;
--color-on-primary: #FFFFFF;
--color-accent: #988081;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F252A;
--color-text: #FFE4E5;
--color-muted: #977E7F;
--color-primary: #FFB6C1;
--color-on-primary: #1C080C;
--color-accent: #BF858E;
--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 | adjusted for contrast · from #FFB6C1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.16:1 | AAA pass 4.5:1 | |
| Text on surface | 7.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 3.76:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.05:1 | AAA pass 4.5:1 | |
| Text on surface | 14.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 11.67:1 | AAA pass 4.5:1 | |
| Label on accent | 6.39:1 | AA pass 4.5:1 | |
| Primary on background | 11.67:1 | AAA pass 3:1 | |
| Accent on background | 6.39:1 | AA 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) | #FFD8D8 (Text 4) | #FFE4E5 (Text 5) |
|---|---|---|---|---|---|
| #FFB6C1 | Same color | 1.07— | 1.16— | 1.26— | 1.38— |
| #FFC0CB | 1.07— | Same color | 1.08— | 1.18— | 1.28— |
| #FFCCCB | 1.16— | 1.08— | Same color | 1.09— | 1.19— |
| #FFD8D8 | 1.26— | 1.18— | 1.09— | Same color | 1.09— |
| #FFE4E5 | 1.38— | 1.28— | 1.19— | 1.09— | Same color |
Shades
Shades and tints (50–950)
