PreviewingGo to this paletteOpen in generator
Code
/* Tactical Red — colorset.net */
:root {
--color-1: #FA4454;
--color-2: #0F1419;
--color-3: #FF4655;
--color-4: #BD3944;
--color-5: #00F5FF;
--color-bg: #E8FBFC;
--color-surface: #DFF2F3;
--color-border: #C3DADB;
--color-text: #0F1419;
--color-muted: #636970;
--color-primary: #FB4252;
--color-on-primary: #0F1419;
--color-accent: #008288;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1419;
--color-surface: #191E24;
--color-border: #2B333B;
--color-text: #B2E3E5;
--color-muted: #678B8D;
--color-primary: #FF4655;
--color-on-primary: #0F1419;
--color-accent: #00F5FF;
--color-on-accent: #0F1419;
}
}
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 #00F5FF | from palette · color 2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 2 | adjusted for contrast · from #00F5FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FA4454 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BD3944 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.31:1 | AAA pass 4.5:1 | |
| Text on surface | 15.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.19:1 | AA pass 4.5:1 | |
| Label on primary | 5.29:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.23:1 | AAA pass 4.5:1 | |
| Text on surface | 11.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 5.52:1 | AA pass 4.5:1 | |
| Label on accent | 13.67:1 | AAA pass 4.5:1 | |
| Primary on background | 5.52:1 | AA pass 3:1 | |
| Accent on background | 13.67: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 | #FA4454 (Text 1) | #0F1419 (Text 2) | #FF4655 (Text 3) | #BD3944 (Text 4) | #00F5FF (Text 5) |
|---|---|---|---|---|---|
| #FA4454 | Same color | 5.31AA | 1.04— | 1.57— | 2.58— |
| #0F1419 | 5.31AA | Same color | 5.52AA | 3.38AA Large | 13.67AAA |
| #FF4655 | 1.04— | 5.52AA | Same color | 1.63— | 2.48— |
| #BD3944 | 1.57— | 3.38AA Large | 1.63— | Same color | 4.05AA Large |
| #00F5FF | 2.58— | 13.67AAA | 2.48— | 4.05AA Large | Same color |
Shades
Shades and tints (50–950)
