PreviewingGo to this paletteOpen in generator
Code
/* Romantic Pink — colorset.net */
:root {
--color-1: #FFB6C1;
--color-2: #FFC0CB;
--color-3: #FFCCCB;
--color-4: #F0F8FF;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #7F414D;
--color-muted: #86676B;
--color-primary: #BF7B86;
--color-on-primary: #000000;
--color-accent: #8C8C8C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F252A;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--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.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 6.39:1 | AA pass 4.5:1 | |
| Label on accent | 6.25:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.28:1 | AAA pass 4.5:1 | |
| Text on surface | 17.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.96: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) | #F0F8FF (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #FFB6C1 | Same color | 1.07— | 1.16— | 1.54— | 1.65— |
| #FFC0CB | 1.07— | Same color | 1.08— | 1.43— | 1.54— |
| #FFCCCB | 1.16— | 1.08— | Same color | 1.33— | 1.42— |
| #F0F8FF | 1.54— | 1.43— | 1.33— | Same color | 1.07— |
| #FFFFFF | 1.65— | 1.54— | 1.42— | 1.07— | Same color |
Shades
Shades and tints (50–950)
