David Ewins

Colours

I built this to get from one brand colour to a theme I can ship. Pick a colour, or start from what you want the brand to say, and you get a full light and dark palette that passes contrast, with the code.

Harmony
Start from a meaning

Palette

Tap any colour to copy its hex.

What these colours mean

Orange

Primary

Surveys in Europe and the United States link orange with amusement, the unconventional, extroversion, warmth, fire, energy, activity, danger, taste and aroma, and autumn. It has long been the national colour of the Netherlands. Source

  • easyJet. Painted its booking phone number in bright orange on the side of its aircraft. Source
  • Orange. The telecoms company's orange is close to easyJet's. Source
  • Hermès. Orange became the house colour during the Second World War, because of shortages under the German occupation of France. Source
What orange means in branding

Yellow

Secondary

Surveys in Europe, Canada, the United States and elsewhere link yellow with amusement, gentleness, humour, happiness and spontaneity. It can also suggest duplicity, envy, jealousy and greed. In China and many Asian countries it is the colour of royalty, respect and wisdom. Source

  • Caterpillar. Its machines are known by their "Caterpillar Yellow" paint. Source
  • National Geographic. The magazine is known for its yellow rectangular border. Source
  • IKEA. Stores are usually blue buildings with yellow accents, Sweden's national colours. Source
What yellow means in branding

Red

Accent

Surveys in Europe and the United States link red with heat, activity, passion, sexuality, anger, love and joy. As the colour of blood it has long stood for sacrifice, danger and courage. In China, India and many other Asian countries it stands for happiness and good fortune. Source

  • Ferrari. The works team has always raced in red, following rosso corsa, Italy's motor racing colour. Source
  • Christian Louboutin. The red sole is protected as a trademark in several countries. Source
What red means in branding

Light and dark

Every text and background pair, checked against WCAG 2 contrast. AA needs 4.5:1 and AAA needs 7:1 for normal size text.

Light

Order confirmed

Your table is booked for 8pm. We'll text you if anything changes.

View bookingShareNew

Questions? Contact us

  • Text on background

    17.05:1AApassAAApass
  • Muted text on background

    6.19:1AApassAAAfail
  • Text on surface

    18.12:1AApassAAApass
  • Muted text on surface

    6.58:1AApassAAAfail
  • Primary as text on background

    2.66:1AAfailAAAfail
  • Label on primary

    6.41:1AApassAAAfail
  • Label on secondary

    6.70:1AApassAAAfail
  • Label on accent

    6.28:1AApassAAAfail

Dark

Order confirmed

Your table is booked for 8pm. We'll text you if anything changes.

View bookingShareNew

Questions? Contact us

  • Text on background

    17.04:1AApassAAApass
  • Muted text on background

    7.71:1AApassAAApass
  • Text on surface

    15.47:1AApassAAApass
  • Muted text on surface

    7.00:1AApassAAApass
  • Primary as text on background

    6.77:1AApassAAAfail
  • Label on primary

    6.67:1AApassAAAfail
  • Label on secondary

    6.97:1AApassAAAfail
  • Label on accent

    6.53:1AApassAAAfail

Export

Plain custom properties. Use them as var(--primary).

theme.css
/* Light by default, dark when the system asks for it. */
:root {
  color-scheme: light;
  --background: #fcf7f5;
  --surface: #ffffff;
  --border: #e5dcd7;
  --text: #1d140f;
  --muted: #665b55;
  --primary: #f2771a;
  --on-primary: #1d140f;
  --secondary: #cd9300;
  --on-secondary: #1d140f;
  --accent: #f9696f;
  --on-accent: #1d140f;
  --brand-50: #fff2eb;
  --brand-100: #ffe1d1;
  --brand-200: #ffc6a7;
  --brand-300: #ff9f67;
  --brand-400: #f57a1f;
  --brand-500: #d56400;
  --brand-600: #b15200;
  --brand-700: #8f4100;
  --brand-800: #6f3100;
  --brand-900: #502100;
  --brand-950: #361400;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #140e0b;
    --surface: #1f1916;
    --border: #332c28;
    --text: #f5f1ee;
    --muted: #aba39e;
    --primary: #f2771a;
    --on-primary: #16100d;
    --secondary: #cd9300;
    --on-secondary: #16100d;
    --accent: #f9696f;
    --on-accent: #16100d;
  }
}

The colours

How it works

The palette is worked out in OKLCH, a colour space where equal steps in lightness look like equal steps to the eye. Secondary and accent colours turn the hue and keep the lightness and chroma. Anything outside what a normal screen can show has its chroma lowered until it fits.

Contrast uses the WCAG 2 formula. The meanings come from colour surveys in Europe and the United States, so they won't hold everywhere: in China, red stands for happiness and good fortune, and in many Asian cultures white is the colour of mourning.

Swatch colours on this page are my own picks, not official brand values. Brands are named only where a source says they are known for the colour.

Sources

27 pages, all read when this was written.