A shared five-color palette

Grey, midnight blue and moccasin: a five-color palette

A five-color palette made in Recolor (recolor.page): #a3729a, #21141d, #ffe9bb, #b6cfc0 and #3d5e4c. White text reaches the WCAG AA ratio of 4.5:1 on #21141d and #3d5e4c, black text on #a3729a, #ffe9bb and #b6cfc0.

Shared

#a3729aGrey
#21141dMidnight Blue
#ffe9bbMoccasin
#b6cfc0Silver
#3d5e4cDark Slate Grey
Computed with Recolor's own color code (culori, the WCAG 2 contrast ratio), October 8, 2026
HexNearest CSS nameOKLCHBlack text, AAWhite text, AA
#a3729aGrey (grey)oklch(61.5% 0.083 333.2)5.43:1 passes3.87:1 fails
#21141dMidnight Blue (midnightblue)oklch(21.2% 0.027 338.4)1.18:1 fails17.76:1 passes
#ffe9bbMoccasin (moccasin)oklch(94.1% 0.064 85.4)17.63:1 passes1.19:1 fails
#b6cfc0Silver (silver)oklch(83.2% 0.034 159.3)12.68:1 passes1.66:1 fails
#3d5e4cDark Slate Grey (darkslategrey)oklch(45.1% 0.049 159.8)2.90:1 fails7.23:1 passes

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; #21141d 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

CSS
:root {
  --color-1: #a3729a;
  --color-2: #21141d;
  --color-3: #ffe9bb;
  --color-4: #b6cfc0;
  --color-5: #3d5e4c;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #a3729a;
  --color-2: #21141d;
  --color-3: #ffe9bb;
  --color-4: #b6cfc0;
  --color-5: #3d5e4c;
  --color-primary: #a3729a;
  --color-secondary: #21141d;
  --color-accent: #ffe9bb;
}

SCSS variables

SCSS
$color-1: #a3729a;
$color-2: #21141d;
$color-3: #ffe9bb;
$color-4: #b6cfc0;
$color-5: #3d5e4c;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;

JSON

JSON
{
  "colors": [
    "#a3729a",
    "#21141d",
    "#ffe9bb",
    "#b6cfc0",
    "#3d5e4c"
  ]
}

Hex list

Text
#a3729a
#21141d
#ffe9bb
#b6cfc0
#3d5e4c

Coolors link

URL
https://coolors.co/a3729a-21141d-ffe9bb-b6cfc0-3d5e4c