PreviewingGo to this paletteOpen in generator
Code
/* Iron Red — colorset.net */
:root {
--color-1: #F4F1F1;
--color-2: #BB061E;
--color-3: #80C1E1;
--color-4: #551015;
--color-5: #0D0808;
--color-bg: #F4F1F1;
--color-surface: #FAF9F9;
--color-border: #DFD7D7;
--color-text: #0D0808;
--color-muted: #645D5D;
--color-primary: #BB061E;
--color-on-primary: #FFFFFF;
--color-accent: #5292B0;
--color-on-accent: #0D0808;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0808;
--color-surface: #171111;
--color-border: #2D2424;
--color-text: #F4F1F1;
--color-muted: #878484;
--color-primary: #C21725;
--color-on-primary: #FFFFFF;
--color-accent: #80C1E1;
--color-on-accent: #0D0808;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #BB061E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #80C1E1 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.72:1 | AAA pass 4.5:1 | |
| Text on surface | 18.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.73:1 | AA pass 4.5:1 | |
| Label on primary | 6.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 5.92:1 | AA pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.72:1 | AAA pass 4.5:1 | |
| Text on surface | 16.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 10.08:1 | AAA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 10.08: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 | #F4F1F1 (Text 1) | #BB061E (Text 2) | #80C1E1 (Text 3) | #551015 (Text 4) | #0D0808 (Text 5) |
|---|---|---|---|---|---|
| #F4F1F1 | Same color | 5.92AA | 1.76— | 12.71AAA | 17.72AAA |
| #BB061E | 5.92AA | Same color | 3.37AA Large | 2.15— | 2.99— |
| #80C1E1 | 1.76— | 3.37AA Large | Same color | 7.23AAA | 10.08AAA |
| #551015 | 12.71AAA | 2.15— | 7.23AAA | Same color | 1.39— |
| #0D0808 | 17.72AAA | 2.99— | 10.08AAA | 1.39— | Same color |
Shades
Shades and tints (50–950)
