A five-color palette
Copper: a copper, brown and apricot color palette
Copper and a deep brown with a dark maroon, apricot and cream. Its hex codes are #ba7233, #6b3f12, #421900, #f2b789, #fee7d7. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.
Last updated
| Hex | Nearest CSS name | OKLCH | Black text, AA | White text, AA |
|---|---|---|---|---|
#ba7233 | Chocolate (chocolate) | oklch(61.9% 0.119 58.7) | 5.54:1 passes | 3.79:1 fails |
#6b3f12 | Saddle Brown (saddlebrown) | oklch(41.2% 0.084 61.6) | 2.34:1 fails | 8.96:1 passes |
#421900 | Maroon (maroon) | oklch(27.1% 0.073 48.7) | 1.37:1 fails | 15.32:1 passes |
#f2b789 | Burly Wood (burlywood) | oklch(82.3% 0.091 59.0) | 11.91:1 passes | 1.76:1 fails |
#fee7d7 | Antique White (antiquewhite) | oklch(94.2% 0.033 57.1) | 17.63:1 passes | 1.19:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #fee7d7, the lightest of the five, takes the background and #421900, the darkest, the text, and the page's other greys keep their place between the two; on a dark page the two swap. The other three take the page's colors in their order: the first of them its heaviest brand color, the next the one after. Reorder the swatches and the page reorders with them; mapping explains it, and the Tint choice that keeps a page's greys as they were. To keep text readable, the table above says whether black or white text reaches the WCAG AA ratio of 4.5:1 on each color.
The code below is what Recolor's own Export panel writes for this palette. The Tailwind block is a Tailwind v4 @theme block, and the Coolors link opens the same colors there. To see the palette on your own site first, follow previewing a palette on a real website.
The palette as code
CSS variables
:root {
--color-1: #ba7233;
--color-2: #6b3f12;
--color-3: #421900;
--color-4: #f2b789;
--color-5: #fee7d7;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #ba7233;
--color-2: #6b3f12;
--color-3: #421900;
--color-4: #f2b789;
--color-5: #fee7d7;
--color-primary: #ba7233;
--color-secondary: #6b3f12;
--color-accent: #421900;
}SCSS variables
$color-1: #ba7233;
$color-2: #6b3f12;
$color-3: #421900;
$color-4: #f2b789;
$color-5: #fee7d7;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#ba7233",
"#6b3f12",
"#421900",
"#f2b789",
"#fee7d7"
]
}Hex list
#ba7233
#6b3f12
#421900
#f2b789
#fee7d7Coolors link
https://coolors.co/ba7233-6b3f12-421900-f2b789-fee7d7