PreviewingGo to this paletteOpen in generator
Code
/* Ruby Red — colorset.net */
:root {
--color-1: #E0115F;
--color-2: #DC143C;
--color-3: #B22222;
--color-4: #CD5C5C;
--color-5: #F08080;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #7C3C36;
--color-muted: #826460;
--color-primary: #E0115F;
--color-on-primary: #FFFFFF;
--color-accent: #D46768;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281311;
--color-border: #402623;
--color-text: #C49A98;
--color-muted: #9B7B79;
--color-primary: #E0115F;
--color-on-primary: #FFFFFF;
--color-accent: #F08080;
--color-on-accent: #1C0907;
}
}
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 #F08080 | adjusted for contrast · from #B22222 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B22222 | adjusted for contrast · from #F08080 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD5C5C | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 5.94:1 | AA pass 4.5:1 | |
| Primary on background | 4.41:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 7.42:1 | AAA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 7.42: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 | #E0115F (Text 1) | #DC143C (Text 2) | #B22222 (Text 3) | #CD5C5C (Text 4) | #F08080 (Text 5) |
|---|---|---|---|---|---|
| #E0115F | Same color | 1.05— | 1.40— | 1.20— | 1.84— |
| #DC143C | 1.05— | Same color | 1.34— | 1.25— | 1.93— |
| #B22222 | 1.40— | 1.34— | Same color | 1.68— | 2.58— |
| #CD5C5C | 1.20— | 1.25— | 1.68— | Same color | 1.53— |
| #F08080 | 1.84— | 1.93— | 2.58— | 1.53— | Same color |
Shades
Shades and tints (50–950)
