PreviewingGo to this paletteOpen in generator
Code
/* Dawn Pink — colorset.net */
:root {
--color-1: #FFE4E1;
--color-2: #FFEBE8;
--color-3: #FFF2EF;
--color-4: #FFF9F6;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #624C4A;
--color-muted: #816A67;
--color-primary: #A18986;
--color-on-primary: #000000;
--color-accent: #6C5956;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140D0D;
--color-surface: #1F1717;
--color-border: #362B29;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #FFE4E1;
--color-on-primary: #140D0D;
--color-accent: #C4AEAC;
--color-on-accent: #140D0D;
}
}
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 #FFE4E1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFE4E1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFE4E1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFE4E1 | adjusted for contrast · from #FFE4E1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 6.44:1 | AA pass 4.5:1 | |
| Label on accent | 6.56:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 6.56:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.21:1 | AAA pass 4.5:1 | |
| Text on surface | 17.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.94:1 | AA pass 4.5:1 | |
| Label on primary | 15.95:1 | AAA pass 4.5:1 | |
| Label on accent | 9.15:1 | AAA pass 4.5:1 | |
| Primary on background | 15.95:1 | AAA pass 3:1 | |
| Accent on background | 9.15: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 | #FFE4E1 (Text 1) | #FFEBE8 (Text 2) | #FFF2EF (Text 3) | #FFF9F6 (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #FFE4E1 | Same color | 1.05— | 1.10— | 1.15— | 1.20— |
| #FFEBE8 | 1.05— | Same color | 1.05— | 1.10— | 1.15— |
| #FFF2EF | 1.10— | 1.05— | Same color | 1.05— | 1.09— |
| #FFF9F6 | 1.15— | 1.10— | 1.05— | Same color | 1.04— |
| #FFFFFF | 1.20— | 1.15— | 1.09— | 1.04— | Same color |
Shades
Shades and tints (50–950)
