PreviewingGo to this paletteOpen in generator
Code
/* Apricot Dream — colorset.net */
:root {
--color-1: #FFCCCB;
--color-2: #FFD6D5;
--color-3: #FFE0DF;
--color-4: #FFEAEA;
--color-5: #FFC2C1;
--color-bg: #FFEAEA;
--color-surface: #FFF4F4;
--color-border: #E9D0D0;
--color-text: #744242;
--color-muted: #836464;
--color-primary: #B37B7A;
--color-on-primary: #000000;
--color-accent: #794D4C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0A0A;
--color-surface: #251414;
--color-border: #3D2727;
--color-text: #FFEAEA;
--color-muted: #958282;
--color-primary: #FFC2C1;
--color-on-primary: #1A0A0A;
--color-accent: #C1908F;
--color-on-accent: #1A0A0A;
}
}
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 4 | adjusted for contrast · from #FFC2C1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFC2C1 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFC2C1 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFC2C1 | adjusted for contrast · from #FFC2C1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.00:1 | AAA pass 4.5:1 | |
| Text on surface | 7.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.58:1 | AA pass 4.5:1 | |
| Label on primary | 6.03:1 | AA pass 4.5:1 | |
| Label on accent | 7.05:1 | AAA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 6.11:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.68:1 | AAA pass 4.5:1 | |
| Text on surface | 15.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 12.58:1 | AAA pass 4.5:1 | |
| Label on accent | 7.01:1 | AAA pass 4.5:1 | |
| Primary on background | 12.58:1 | AAA pass 3:1 | |
| Accent on background | 7.01: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 | #FFCCCB (Text 1) | #FFD6D5 (Text 2) | #FFE0DF (Text 3) | #FFEAEA (Text 4) | #FFC2C1 (Text 5) |
|---|---|---|---|---|---|
| #FFCCCB | Same color | 1.07— | 1.15— | 1.23— | 1.07— |
| #FFD6D5 | 1.07— | Same color | 1.07— | 1.15— | 1.15— |
| #FFE0DF | 1.15— | 1.07— | Same color | 1.07— | 1.24— |
| #FFEAEA | 1.23— | 1.15— | 1.07— | Same color | 1.33— |
| #FFC2C1 | 1.07— | 1.15— | 1.24— | 1.33— | Same color |
Shades
Shades and tints (50–950)
