PreviewingGo to this paletteOpen in generator
Code
/* Sweet Pink — colorset.net */
:root {
--color-1: #FFB6C1;
--color-2: #FFC1C6;
--color-3: #FFCCCB;
--color-4: #FFD7D0;
--color-5: #FFE2D5;
--color-bg: #FFE2D5;
--color-surface: #FEECE4;
--color-border: #E8C9BB;
--color-text: #763945;
--color-muted: #7E6064;
--color-primary: #A5646F;
--color-on-primary: #FFFFFF;
--color-accent: #987E72;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F252A;
--color-text: #FFE2D5;
--color-muted: #977E72;
--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.00:1 | AAA pass 4.5:1 | |
| Text on surface | 7.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.67:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.69:1 | AAA pass 4.5:1 | |
| Text on surface | 14.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09: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) | #FFC1C6 (Text 2) | #FFCCCB (Text 3) | #FFD7D0 (Text 4) | #FFE2D5 (Text 5) |
|---|---|---|---|---|---|
| #FFB6C1 | Same color | 1.08— | 1.16— | 1.25— | 1.34— |
| #FFC1C6 | 1.08— | Same color | 1.08— | 1.16— | 1.25— |
| #FFCCCB | 1.16— | 1.08— | Same color | 1.08— | 1.16— |
| #FFD7D0 | 1.25— | 1.16— | 1.08— | Same color | 1.08— |
| #FFE2D5 | 1.34— | 1.25— | 1.16— | 1.08— | Same color |
Shades
Shades and tints (50–950)
