PreviewingGo to this paletteOpen in generator
Code
/* Dragon Ember — colorset.net */
:root {
--color-1: #20090A;
--color-2: #DB2D27;
--color-3: #F1BF4E;
--color-4: #572222;
--color-5: #F6ECE5;
--color-bg: #F6ECE5;
--color-surface: #FAF4F0;
--color-border: #E0D3C9;
--color-text: #20090A;
--color-muted: #795B5B;
--color-primary: #DB2D27;
--color-on-primary: #FFFFFF;
--color-accent: #977000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #20090A;
--color-surface: #2B1314;
--color-border: #422828;
--color-text: #F6ECE5;
--color-muted: #8F867F;
--color-primary: #DB2D27;
--color-on-primary: #FFFFFF;
--color-accent: #F1BF4E;
--color-on-accent: #20090A;
}
}
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 | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DB2D27 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.34:1 | AAA pass 4.5:1 | |
| Text on surface | 17.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 4.75:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 3.90:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.34:1 | AAA pass 4.5:1 | |
| Text on surface | 14.97:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 4.75:1 | AA pass 4.5:1 | |
| Label on accent | 11.13:1 | AAA pass 4.5:1 | |
| Primary on background | 4.00:1 | AA Large pass 3:1 | |
| Accent on background | 11.13: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 | #20090A (Text 1) | #DB2D27 (Text 2) | #F1BF4E (Text 3) | #572222 (Text 4) | #F6ECE5 (Text 5) |
|---|---|---|---|---|---|
| #20090A | Same color | 4.00AA Large | 11.13AAA | 1.50— | 16.34AAA |
| #DB2D27 | 4.00AA Large | Same color | 2.79— | 2.67— | 4.09AA Large |
| #F1BF4E | 11.13AAA | 2.79— | Same color | 7.42AAA | 1.47— |
| #572222 | 1.50— | 2.67— | 7.42AAA | Same color | 10.89AAA |
| #F6ECE5 | 16.34AAA | 4.09AA Large | 1.47— | 10.89AAA | Same color |
Shades
Shades and tints (50–950)
