PreviewingGo to this paletteOpen in generator
Code
/* Ember Ridge — colorset.net */
:root {
--color-1: #22161E;
--color-2: #F0883E;
--color-3: #A15C9E;
--color-4: #42303E;
--color-5: #F7ECE6;
--color-bg: #F7ECE6;
--color-surface: #FBF4F1;
--color-border: #E1D3CB;
--color-text: #22161E;
--color-muted: #75656F;
--color-primary: #A15C9E;
--color-on-primary: #FFFFFF;
--color-accent: #BA5B00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #22161E;
--color-surface: #2D2029;
--color-border: #45343F;
--color-text: #F7ECE6;
--color-muted: #958B85;
--color-primary: #A15C9E;
--color-on-primary: #FFFFFF;
--color-accent: #F0883E;
--color-on-accent: #22161E;
}
}
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 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F0883E | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.06:1 | AAA pass 4.5:1 | |
| Text on surface | 16.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 3.95:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.06:1 | AAA pass 4.5:1 | |
| Text on surface | 13.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 6.90:1 | AA pass 4.5:1 | |
| Primary on background | 3.78:1 | AA Large pass 3:1 | |
| Accent on background | 6.90:1 | AA 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 | #22161E (Text 1) | #F0883E (Text 2) | #A15C9E (Text 3) | #42303E (Text 4) | #F7ECE6 (Text 5) |
|---|---|---|---|---|---|
| #22161E | Same color | 6.90AA | 3.78AA Large | 1.43— | 15.06AAA |
| #F0883E | 6.90AA | Same color | 1.83— | 4.81AA | 2.18— |
| #A15C9E | 3.78AA Large | 1.83— | Same color | 2.63— | 3.99AA Large |
| #42303E | 1.43— | 4.81AA | 2.63— | Same color | 10.50AAA |
| #F7ECE6 | 15.06AAA | 2.18— | 3.99AA Large | 10.50AAA | Same color |
Shades
Shades and tints (50–950)
