PreviewingGo to this paletteOpen in generator
Code
/* Ruby Neon — colorset.net */
:root {
--color-1: #9B111E;
--color-2: #C7031E;
--color-3: #E0115F;
--color-4: #FF0038;
--color-5: #FF6B6B;
--color-bg: #FFF4F3;
--color-surface: #FBE9E7;
--color-border: #E5CFCD;
--color-text: #7A3A37;
--color-muted: #826360;
--color-primary: #EA0033;
--color-on-primary: #FFFFFF;
--color-accent: #9B111E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0908;
--color-surface: #281311;
--color-border: #402624;
--color-text: #C69C9A;
--color-muted: #9C7C7A;
--color-primary: #EA0033;
--color-on-primary: #FFFFFF;
--color-accent: #BA3638;
--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 #FF6B6B | adjusted for contrast · from #9B111E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9B111E | adjusted for contrast · from #FF6B6B |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0038 | adjusted for contrast · from #FF0038 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #C7031E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 8.42:1 | AAA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 7.82:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 3.36: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 | #9B111E (Text 1) | #C7031E (Text 2) | #E0115F (Text 3) | #FF0038 (Text 4) | #FF6B6B (Text 5) |
|---|---|---|---|---|---|
| #9B111E | Same color | 1.39— | 1.77— | 2.13— | 3.04AA Large |
| #C7031E | 1.39— | Same color | 1.28— | 1.53— | 2.19— |
| #E0115F | 1.77— | 1.28— | Same color | 1.20— | 1.71— |
| #FF0038 | 2.13— | 1.53— | 1.20— | Same color | 1.43— |
| #FF6B6B | 3.04AA Large | 2.19— | 1.71— | 1.43— | Same color |
Shades
Shades and tints (50–950)
