PreviewingGo to this paletteOpen in generator
Code
/* Debug Red — colorset.net */
:root {
--color-1: #FAF5F5;
--color-2: #D73337;
--color-3: #558AC0;
--color-4: #7F1F26;
--color-5: #161010;
--color-bg: #FAF5F5;
--color-surface: #F1ECEC;
--color-border: #DBD2D2;
--color-text: #161010;
--color-muted: #6D6565;
--color-primary: #D73337;
--color-on-primary: #FFFFFF;
--color-accent: #4378AD;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #161010;
--color-surface: #201A1A;
--color-border: #382E2E;
--color-text: #FAF5F5;
--color-muted: #908B8B;
--color-primary: #D73337;
--color-on-primary: #FFFFFF;
--color-accent: #4378AD;
--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 | 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 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #558AC0 | adjusted for contrast · from #558AC0 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.43:1 | AAA pass 4.5:1 | |
| Text on surface | 16.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 4.75:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.40:1 | AA Large pass 3:1 | |
| Accent on background | 4.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.43:1 | AAA pass 4.5:1 | |
| Text on surface | 15.88:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.60:1 | AA pass 4.5:1 | |
| Label on primary | 4.75:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.96:1 | AA Large pass 3:1 | |
| Accent on background | 4.06: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 | #FAF5F5 (Text 1) | #D73337 (Text 2) | #558AC0 (Text 3) | #7F1F26 (Text 4) | #161010 (Text 5) |
|---|---|---|---|---|---|
| #FAF5F5 | Same color | 4.40AA Large | 3.36AA Large | 9.14AAA | 17.43AAA |
| #D73337 | 4.40AA Large | Same color | 1.31— | 2.08— | 3.96AA Large |
| #558AC0 | 3.36AA Large | 1.31— | Same color | 2.72— | 5.18AA |
| #7F1F26 | 9.14AAA | 2.08— | 2.72— | Same color | 1.91— |
| #161010 | 17.43AAA | 3.96AA Large | 5.18AA | 1.91— | Same color |
Shades
Shades and tints (50–950)
