PreviewingGo to this paletteOpen in generator
Code
/* Black Square — colorset.net */
:root {
--color-1: #141516;
--color-2: #3E6DE0;
--color-3: #E9483B;
--color-4: #34363A;
--color-5: #F3EEE4;
--color-bg: #F3EEE4;
--color-surface: #F8F5EF;
--color-border: #DCD5C8;
--color-text: #141516;
--color-muted: #656768;
--color-primary: #DB392E;
--color-on-primary: #FFFFFF;
--color-accent: #3E6DE0;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #141516;
--color-surface: #1E1F20;
--color-border: #313538;
--color-text: #F3EEE4;
--color-muted: #8E8A80;
--color-primary: #DB392E;
--color-on-primary: #FFFFFF;
--color-accent: #3E6DE0;
--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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E9483B | adjusted for contrast · from #E9483B |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.81:1 | AAA pass 4.5:1 | |
| Text on surface | 16.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.70:1 | AA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 4.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.81:1 | AAA pass 4.5:1 | |
| Text on surface | 14.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.70:1 | AA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 3.89: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 | #141516 (Text 1) | #3E6DE0 (Text 2) | #E9483B (Text 3) | #34363A (Text 4) | #F3EEE4 (Text 5) |
|---|---|---|---|---|---|
| #141516 | Same color | 3.89AA Large | 4.75AA | 1.51— | 15.81AAA |
| #3E6DE0 | 3.89AA Large | Same color | 1.22— | 2.58— | 4.06AA Large |
| #E9483B | 4.75AA | 1.22— | Same color | 3.14AA Large | 3.33AA Large |
| #34363A | 1.51— | 2.58— | 3.14AA Large | Same color | 10.47AAA |
| #F3EEE4 | 15.81AAA | 4.06AA Large | 3.33AA Large | 10.47AAA | Same color |
Shades
Shades and tints (50–950)
