PreviewingGo to this paletteOpen in generator
Code
/* Pink Grapefruit — colorset.net */
:root {
--color-1: #F7CAC9;
--color-2: #F5B7B1;
--color-3: #F1948A;
--color-4: #EC7063;
--color-5: #E74C3C;
--color-bg: #FFF4F3;
--color-surface: #F8EAE9;
--color-border: #E2D0CF;
--color-text: #7A3B32;
--color-muted: #81635E;
--color-primary: #D53A2C;
--color-on-primary: #FFFFFF;
--color-accent: #A57C7C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #F7CAC9;
--color-muted: #9A7A79;
--color-primary: #D53A2C;
--color-on-primary: #FFFFFF;
--color-accent: #F1948A;
--color-on-accent: #1C0907;
}
}
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 #F7CAC9 | adjusted for contrast · from #E74C3C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E74C3C | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E74C3C | adjusted for contrast · from #E74C3C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EC7063 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.05:1 | AAA pass 4.5:1 | |
| Text on surface | 11.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 8.56:1 | AAA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 8.56: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 | #F7CAC9 (Text 1) | #F5B7B1 (Text 2) | #F1948A (Text 3) | #EC7063 (Text 4) | #E74C3C (Text 5) |
|---|---|---|---|---|---|
| #F7CAC9 | Same color | 1.16— | 1.52— | 2.02— | 2.59— |
| #F5B7B1 | 1.16— | Same color | 1.32— | 1.74— | 2.24— |
| #F1948A | 1.52— | 1.32— | Same color | 1.32— | 1.70— |
| #EC7063 | 2.02— | 1.74— | 1.32— | Same color | 1.29— |
| #E74C3C | 2.59— | 2.24— | 1.70— | 1.29— | Same color |
Shades
Shades and tints (50–950)
