PreviewingGo to this paletteOpen in generator
Code
/* Ruby Dark — colorset.net */
:root {
--color-1: #990022;
--color-2: #CC0033;
--color-3: #FF0044;
--color-4: #FF3355;
--color-5: #FF6666;
--color-bg: #FFF4F3;
--color-surface: #FBE9E7;
--color-border: #E5CFCD;
--color-text: #7A3A3A;
--color-muted: #826362;
--color-primary: #EA003E;
--color-on-primary: #FFFFFF;
--color-accent: #990022;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281312;
--color-border: #402625;
--color-text: #C49A97;
--color-muted: #9B7B78;
--color-primary: #EA003E;
--color-on-primary: #FFFFFF;
--color-accent: #BC323E;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #FF6666 | adjusted for contrast · from #990022 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #990022 | adjusted for contrast · from #FF6666 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0044 | adjusted for contrast · from #FF0044 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #CC0033 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 8.83:1 | AAA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 8.20:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large 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 | #990022 (Text 1) | #CC0033 (Text 2) | #FF0044 (Text 3) | #FF3355 (Text 4) | #FF6666 (Text 5) |
|---|---|---|---|---|---|
| #990022 | Same color | 1.52— | 2.24— | 2.46— | 3.09AA Large |
| #CC0033 | 1.52— | Same color | 1.48— | 1.62— | 2.03— |
| #FF0044 | 2.24— | 1.48— | Same color | 1.10— | 1.38— |
| #FF3355 | 2.46— | 1.62— | 1.10— | Same color | 1.25— |
| #FF6666 | 3.09AA Large | 2.03— | 1.38— | 1.25— | Same color |
Shades
Shades and tints (50–950)
