PreviewingGo to this paletteOpen in generator
Code
/* Ruby Light — colorset.net */
:root {
--color-1: #CC2244;
--color-2: #DD3355;
--color-3: #EE4466;
--color-4: #FF5577;
--color-5: #FF6688;
--color-bg: #FFF4F5;
--color-surface: #FBE8EA;
--color-border: #E5CFD1;
--color-text: #79393D;
--color-muted: #816263;
--color-primary: #D92F52;
--color-on-primary: #FFFFFF;
--color-accent: #8F002C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080A;
--color-surface: #271213;
--color-border: #402526;
--color-text: #C2999E;
--color-muted: #997A7E;
--color-primary: #D92F52;
--color-on-primary: #FFFFFF;
--color-accent: #FF6688;
--color-on-accent: #1C080A;
}
}
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 #FF6688 | adjusted for contrast · from #CC2244 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CC2244 | adjusted for contrast · from #FF6688 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DD3355 | adjusted for contrast · from #DD3355 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CC2244 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 9.53:1 | AAA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 8.85:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 6.90:1 | AA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 6.90: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 | #CC2244 (Text 1) | #DD3355 (Text 2) | #EE4466 (Text 3) | #FF5577 (Text 4) | #FF6688 (Text 5) |
|---|---|---|---|---|---|
| #CC2244 | Same color | 1.21— | 1.46— | 1.76— | 1.94— |
| #DD3355 | 1.21— | Same color | 1.21— | 1.46— | 1.60— |
| #EE4466 | 1.46— | 1.21— | Same color | 1.21— | 1.33— |
| #FF5577 | 1.76— | 1.46— | 1.21— | Same color | 1.10— |
| #FF6688 | 1.94— | 1.60— | 1.33— | 1.10— | Same color |
Shades
Shades and tints (50–950)
