PreviewingGo to this paletteOpen in generator
Code
/* Ochre Workshop — colorset.net */
:root {
--color-1: #F1EBDD;
--color-2: #C68A1E;
--color-3: #2D5E8C;
--color-4: #CF4B33;
--color-5: #221F1B;
--color-bg: #F1EBDD;
--color-surface: #F6F2EA;
--color-border: #DAD2C1;
--color-text: #221F1B;
--color-muted: #6D6A65;
--color-primary: #CB4830;
--color-on-primary: #FFFFFF;
--color-accent: #2D5E8C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #221F1B;
--color-surface: #2D2A26;
--color-border: #443F38;
--color-text: #F1EBDD;
--color-muted: #969184;
--color-primary: #CB4830;
--color-on-primary: #FFFFFF;
--color-accent: #4778A8;
--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 | adjusted for contrast · from #CF4B33 | adjusted for contrast · from #CF4B33 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #2D5E8C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.80:1 | AAA pass 4.5:1 | |
| Text on surface | 14.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 6.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 5.72:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.80:1 | AAA pass 4.5:1 | |
| Text on surface | 12.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.65:1 | AA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 3.53: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 | #F1EBDD (Text 1) | #C68A1E (Text 2) | #2D5E8C (Text 3) | #CF4B33 (Text 4) | #221F1B (Text 5) |
|---|---|---|---|---|---|
| #F1EBDD | Same color | 2.50— | 5.72AA | 3.75AA Large | 13.80AAA |
| #C68A1E | 2.50— | Same color | 2.28— | 1.50— | 5.51AA |
| #2D5E8C | 5.72AA | 2.28— | Same color | 1.52— | 2.42— |
| #CF4B33 | 3.75AA Large | 1.50— | 1.52— | Same color | 3.68AA Large |
| #221F1B | 13.80AAA | 5.51AA | 2.42— | 3.68AA Large | Same color |
Shades
Shades and tints (50–950)
