PreviewingGo to this paletteOpen in generator
Code
/* Ruby Fire — colorset.net */
:root {
--color-1: #450A0A;
--color-2: #B91C1C;
--color-3: #EF4444;
--color-4: #F87171;
--color-5: #FCA5A5;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #450A0A;
--color-muted: #81635F;
--color-primary: #DD3035;
--color-on-primary: #FFFFFF;
--color-accent: #AE5F60;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281311;
--color-border: #402623;
--color-text: #DFB4B3;
--color-muted: #9A7A79;
--color-primary: #DD3035;
--color-on-primary: #FFFFFF;
--color-accent: #95534D;
--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 #FCA5A5 | adjusted for contrast · from #450A0A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #FCA5A5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EF4444 | adjusted for contrast · from #EF4444 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B91C1C | adjusted for contrast · from #B91C1C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.98:1 | AAA pass 4.5:1 | |
| Text on surface | 13.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.23:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.37:1 | AAA pass 4.5:1 | |
| Text on surface | 9.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.80:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 3.32: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 | #450A0A (Text 1) | #B91C1C (Text 2) | #EF4444 (Text 3) | #F87171 (Text 4) | #FCA5A5 (Text 5) |
|---|---|---|---|---|---|
| #450A0A | Same color | 2.50— | 4.29AA Large | 5.84AA | 8.51AAA |
| #B91C1C | 2.50— | Same color | 1.72— | 2.34— | 3.41AA Large |
| #EF4444 | 4.29AA Large | 1.72— | Same color | 1.36— | 1.98— |
| #F87171 | 5.84AA | 2.34— | 1.36— | Same color | 1.46— |
| #FCA5A5 | 8.51AAA | 3.41AA Large | 1.98— | 1.46— | Same color |
Shades
Shades and tints (50–950)
