A five-color palette
Apricot: a apricot, rust and cream color palette
Apricot and rust with a dark brown, a clay and a cream. Its hex codes are #ffa16c, #7b371c, #2d130b, #a36f5c, #ffeadf. 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 |
|---|---|---|---|---|
#ffa16c | Light Salmon (lightsalmon) | oklch(79.3% 0.131 49.5) | 10.57:1 passes | 1.99:1 fails |
#7b371c | Saddle Brown (saddlebrown) | oklch(42.3% 0.103 41.1) | 2.41:1 fails | 8.73:1 passes |
#2d130b | Midnight Blue (midnightblue) | oklch(22.4% 0.045 37.9) | 1.21:1 fails | 17.36:1 passes |
#a36f5c | Grey (grey) | oklch(59.1% 0.072 40.9) | 4.99:1 passes | 4.21:1 fails |
#ffeadf | Antique White (antiquewhite) | oklch(95.1% 0.027 49.6) | 18.09:1 passes | 1.16:1 fails |
Using the palette
In Recolor the order of the colors is meaning: swatch 1 takes the page's heaviest brand color, swatch 2 the next, and the page's greys take a tint of swatch 1 (how that works is in mapping). Reorder the swatches and the page reorders with them. 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; #2d130b is the darkest of the five.
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: #ffa16c;
--color-2: #7b371c;
--color-3: #2d130b;
--color-4: #a36f5c;
--color-5: #ffeadf;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #ffa16c;
--color-2: #7b371c;
--color-3: #2d130b;
--color-4: #a36f5c;
--color-5: #ffeadf;
--color-primary: #ffa16c;
--color-secondary: #7b371c;
--color-accent: #2d130b;
}SCSS variables
$color-1: #ffa16c;
$color-2: #7b371c;
$color-3: #2d130b;
$color-4: #a36f5c;
$color-5: #ffeadf;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#ffa16c",
"#7b371c",
"#2d130b",
"#a36f5c",
"#ffeadf"
]
}Hex list
#ffa16c
#7b371c
#2d130b
#a36f5c
#ffeadfCoolors link
https://coolors.co/ffa16c-7b371c-2d130b-a36f5c-ffeadf