PreviewingGo to this paletteOpen in generator
Code
/* Rosewater — colorset.net */
:root {
--color-1: #FFF8F7;
--color-2: #EC93A8;
--color-3: #5F85A1;
--color-4: #C1657C;
--color-5: #322527;
--color-bg: #FFF8F7;
--color-surface: #F6EFEE;
--color-border: #E0D5D3;
--color-text: #322527;
--color-muted: #79696B;
--color-primary: #B45970;
--color-on-primary: #FFFFFF;
--color-accent: #5F85A1;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130E0F;
--color-surface: #1D1819;
--color-border: #342B2C;
--color-text: #FFF8F7;
--color-muted: #918B8A;
--color-primary: #B45970;
--color-on-primary: #FFFFFF;
--color-accent: #5F85A1;
--color-on-accent: #130E0F;
}
}
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 1 | adjusted for contrast · from #322527 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C1657C | adjusted for contrast · from #C1657C |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.01:1 | AAA pass 4.5:1 | |
| Text on surface | 12.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.36:1 | AA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 3.74:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.24:1 | AAA pass 4.5:1 | |
| Text on surface | 16.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.71:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.88:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 4.88: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 | #FFF8F7 (Text 1) | #EC93A8 (Text 2) | #5F85A1 (Text 3) | #C1657C (Text 4) | #322527 (Text 5) |
|---|---|---|---|---|---|
| #FFF8F7 | Same color | 2.15— | 3.74AA Large | 3.69AA Large | 14.01AAA |
| #EC93A8 | 2.15— | Same color | 1.74— | 1.72— | 6.51AA |
| #5F85A1 | 3.74AA Large | 1.74— | Same color | 1.01— | 3.75AA Large |
| #C1657C | 3.69AA Large | 1.72— | 1.01— | Same color | 3.79AA Large |
| #322527 | 14.01AAA | 6.51AA | 3.75AA Large | 3.79AA Large | Same color |
Shades
Shades and tints (50–950)
