PreviewingGo to this paletteOpen in generator
Code
/* Carnation Corsage — colorset.net */
:root {
--color-1: #FF6EB4;
--color-2: #FF8CCD;
--color-3: #FFA5E1;
--color-4: #FFBEF0;
--color-5: #FFD6F9;
--color-bg: #FFF2FD;
--color-surface: #F6E9F4;
--color-border: #DFCFDC;
--color-text: #763A55;
--color-muted: #7F636E;
--color-primary: #CA3C86;
--color-on-primary: #FFFFFF;
--color-accent: #A17B9C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0811;
--color-surface: #26121B;
--color-border: #3E2530;
--color-text: #F9D9F5;
--color-muted: #947C90;
--color-primary: #FF6EB4;
--color-on-primary: #1B0811;
--color-accent: #FFBEF0;
--color-on-accent: #1B0811;
}
}
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 #FFD6F9 | adjusted for contrast · from #FF6EB4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF6EB4 | adjusted for contrast · from #FFD6F9 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF6EB4 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF6EB4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.94:1 | AAA pass 4.5:1 | |
| Text on surface | 13.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 7.47:1 | AAA pass 4.5:1 | |
| Label on accent | 12.74:1 | AAA pass 4.5:1 | |
| Primary on background | 7.47:1 | AAA pass 3:1 | |
| Accent on background | 12.74: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 | #FF6EB4 (Text 1) | #FF8CCD (Text 2) | #FFA5E1 (Text 3) | #FFBEF0 (Text 4) | #FFD6F9 (Text 5) |
|---|---|---|---|---|---|
| #FF6EB4 | Same color | 1.21— | 1.44— | 1.70— | 1.99— |
| #FF8CCD | 1.21— | Same color | 1.19— | 1.40— | 1.64— |
| #FFA5E1 | 1.44— | 1.19— | Same color | 1.18— | 1.39— |
| #FFBEF0 | 1.70— | 1.40— | 1.18— | Same color | 1.17— |
| #FFD6F9 | 1.99— | 1.64— | 1.39— | 1.17— | Same color |
Shades
Shades and tints (50–950)
