PreviewingGo to this paletteOpen in generator
Code
/* Brand Red — colorset.net */
:root {
--color-1: #C62828;
--color-2: #AD1457;
--color-3: #6A1B9A;
--color-4: #4527A0;
--color-5: #283593;
--color-bg: #FFF4F2;
--color-surface: #FBE9E6;
--color-border: #E5CFCC;
--color-text: #323F73;
--color-muted: #636B84;
--color-primary: #C62828;
--color-on-primary: #FFFFFF;
--color-accent: #283593;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0E1F;
--color-surface: #13182A;
--color-border: #262D42;
--color-text: #C59C97;
--color-muted: #9B7C78;
--color-primary: #C62828;
--color-on-primary: #FFFFFF;
--color-accent: #4A5FC1;
--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 #C62828 | adjusted for contrast · from #283593 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #283593 | adjusted for contrast · from #C62828 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | from palette · color 5 | adjusted for contrast · from #4527A0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.30:1 | AAA pass 4.5:1 | |
| Text on surface | 8.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 10.39:1 | AAA pass 4.5:1 | |
| Primary on background | 5.21:1 | AA pass 3:1 | |
| Accent on background | 9.64:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.68:1 | AA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 3.38: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 | #C62828 (Text 1) | #AD1457 (Text 2) | #6A1B9A (Text 3) | #4527A0 (Text 4) | #283593 (Text 5) |
|---|---|---|---|---|---|
| #C62828 | Same color | 1.24— | 1.67— | 1.82— | 1.85— |
| #AD1457 | 1.24— | Same color | 1.35— | 1.47— | 1.49— |
| #6A1B9A | 1.67— | 1.35— | Same color | 1.09— | 1.11— |
| #4527A0 | 1.82— | 1.47— | 1.09— | Same color | 1.01— |
| #283593 | 1.85— | 1.49— | 1.11— | 1.01— | Same color |
Shades
Shades and tints (50–950)
