PreviewingGo to this paletteOpen in generator
Code
/* Ruby Slipper — colorset.net */
:root {
--color-1: #F8F0EE;
--color-2: #A4133C;
--color-3: #1B5E7A;
--color-4: #E3B23C;
--color-5: #250F16;
--color-bg: #F8F0EE;
--color-surface: #FDF8F7;
--color-border: #E2D6D3;
--color-text: #250F16;
--color-muted: #7D6168;
--color-primary: #A4133C;
--color-on-primary: #FFFFFF;
--color-accent: #AF8400;
--color-on-accent: #250F16;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #250F16;
--color-surface: #311920;
--color-border: #482E35;
--color-text: #F8F0EE;
--color-muted: #928B89;
--color-primary: #C03552;
--color-on-primary: #FFFFFF;
--color-accent: #E3B23C;
--color-on-accent: #250F16;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #A4133C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E3B23C | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.13:1 | AAA pass 4.5:1 | |
| Text on surface | 17.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 7.67:1 | AAA pass 4.5:1 | |
| Label on accent | 5.29:1 | AA pass 4.5:1 | |
| Primary on background | 6.83:1 | AA pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.13:1 | AAA pass 4.5:1 | |
| Text on surface | 14.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 5.42:1 | AA pass 4.5:1 | |
| Label on accent | 9.24:1 | AAA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 9.24: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 | #F8F0EE (Text 1) | #A4133C (Text 2) | #1B5E7A (Text 3) | #E3B23C (Text 4) | #250F16 (Text 5) |
|---|---|---|---|---|---|
| #F8F0EE | Same color | 6.83AA | 6.38AA | 1.75— | 16.13AAA |
| #A4133C | 6.83AA | Same color | 1.07— | 3.91AA Large | 2.36— |
| #1B5E7A | 6.38AA | 1.07— | Same color | 3.65AA Large | 2.53— |
| #E3B23C | 1.75— | 3.91AA Large | 3.65AA Large | Same color | 9.24AAA |
| #250F16 | 16.13AAA | 2.36— | 2.53— | 9.24AAA | Same color |
Shades
Shades and tints (50–950)
