PreviewingGo to this paletteOpen in generator
Code
/* Rosy Ivory — colorset.net */
:root {
--color-1: #E8B4B8;
--color-2: #F0CDD0;
--color-3: #F8E6E8;
--color-4: #FFFFEF;
--color-5: #FFFFF7;
--color-bg: #FFFFF7;
--color-surface: #F6F6EE;
--color-border: #DDDDD2;
--color-text: #72464B;
--color-muted: #87686A;
--color-primary: #B08084;
--color-on-primary: #000000;
--color-accent: #8F8F81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190B0C;
--color-surface: #231516;
--color-border: #3B2829;
--color-text: #FFFFF7;
--color-muted: #909088;
--color-primary: #E8B4B8;
--color-on-primary: #190B0C;
--color-accent: #F8E6E8;
--color-on-accent: #190B0C;
}
}
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 #E8B4B8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E8B4B8 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8B4B8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E8B4B8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.27:1 | AA pass 4.5:1 | |
| Label on accent | 6.41:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.09:1 | AAA pass 4.5:1 | |
| Text on surface | 17.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.97:1 | AA pass 4.5:1 | |
| Label on primary | 10.65:1 | AAA pass 4.5:1 | |
| Label on accent | 15.97:1 | AAA pass 4.5:1 | |
| Primary on background | 10.65:1 | AAA pass 3:1 | |
| Accent on background | 15.97: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 | #E8B4B8 (Text 1) | #F0CDD0 (Text 2) | #F8E6E8 (Text 3) | #FFFFEF (Text 4) | #FFFFF7 (Text 5) |
|---|---|---|---|---|---|
| #E8B4B8 | Same color | 1.23— | 1.50— | 1.79— | 1.79— |
| #F0CDD0 | 1.23— | Same color | 1.22— | 1.45— | 1.46— |
| #F8E6E8 | 1.50— | 1.22— | Same color | 1.19— | 1.20— |
| #FFFFEF | 1.79— | 1.45— | 1.19— | Same color | 1.00— |
| #FFFFF7 | 1.79— | 1.46— | 1.20— | 1.00— | Same color |
Shades
Shades and tints (50–950)
