PreviewingGo to this paletteOpen in generator
Code
/* Magma Red — colorset.net */
:root {
--color-1: #660000;
--color-2: #990000;
--color-3: #CC0000;
--color-4: #FF3300;
--color-5: #FF6600;
--color-bg: #FFF4F0;
--color-surface: #FAEAE3;
--color-border: #E4D0C8;
--color-text: #581C16;
--color-muted: #80625D;
--color-primary: #E02C00;
--color-on-primary: #FFFFFF;
--color-accent: #990000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #C29D8D;
--color-muted: #997D71;
--color-primary: #E02C00;
--color-on-primary: #FFFFFF;
--color-accent: #A7463A;
--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 #FF6600 | adjusted for contrast · from #660000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #660000 | adjusted for contrast · from #FF6600 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CC0000 | adjusted for contrast · from #CC0000 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #CC0000 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.21:1 | AAA pass 4.5:1 | |
| Text on surface | 11.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 8.92:1 | AAA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 8.26:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #660000 (Text 1) | #990000 (Text 2) | #CC0000 (Text 3) | #FF3300 (Text 4) | #FF6600 (Text 5) |
|---|---|---|---|---|---|
| #660000 | Same color | 1.50— | 2.28— | 3.66AA Large | 4.57AA |
| #990000 | 1.50— | Same color | 1.52— | 2.43— | 3.04AA Large |
| #CC0000 | 2.28— | 1.52— | Same color | 1.60— | 2.00— |
| #FF3300 | 3.66AA Large | 2.43— | 1.60— | Same color | 1.25— |
| #FF6600 | 4.57AA | 3.04AA Large | 2.00— | 1.25— | Same color |
Shades
Shades and tints (50–950)
