Free business consultation. Book a call

Marketing · Free tool

Logo and Brand Colour Generator

The brand colour generator builds a five-colour palette (primary, secondary, accent, dark and light) from your main colour or at random, using colour-harmony rules. It checks the WCAG contrast of every pair, suggests readable text colours, pairs the palette with free Google Fonts and sketches a simple wordmark. Export it all as CSS, JSON, images or a Markdown brand kit. It runs in your browser.

Free, no sign-up Runs in your browser

Brand Colour Generator

Your main brand colour, for example #0c7c59.

Your palette

Lock the colours you want to keep, then generate again. Fine-tune any colour with its picker.

  • Primary

    HEX
    RGB
    HSL
    OKLCH
  • Secondary

    HEX
    RGB
    HSL
    OKLCH
  • Accent

    HEX
    RGB
    HSL
    OKLCH
  • Dark

    HEX
    RGB
    HSL
    OKLCH
  • Light

    HEX
    RGB
    HSL
    OKLCH

Accessible text on each colour

The text colour to use on each background, with its contrast ratio. AA needs 4.5:1 for normal text and 3:1 for large text (at least 24 px, or about 18.5 px bold).

    Contrast of every colour pair (WCAG 2.2)

    Ratios are calculated with the WCAG relative-luminance formula and are the same whichever colour is the text. Normal text needs 4.5:1 (AA) or 7:1 (AAA); large text needs 3:1 (AA) or 4.5:1 (AAA).

    Contrast ratio and WCAG results for each pair of palette colours
    SampleColoursRatioAA normalAA largeAAA normalAAA large

    Font pairings

    Well-known pairings of free, open-licence fonts from Google Fonts. To protect your privacy we don't load the fonts here: each preview uses your device's generic serif, sans-serif or monospace font. Open a font's page to see it properly or download it.

    Choose a pairing for your wordmark and brand kit

    Wordmark mock-up

    A simple typographic starting point using your palette and heading font. It is not a finished logo, and it has not been checked against registered trademarks: search the trademark register before you use a name or mark.

    On your light colour
    On your primary colour

    Export your brand kit

    Need a finished logo and brand guidelines? Send this palette to our designers

    Everything is created in your browser. Your brand name and colours are not sent to our server or saved, and no fonts are fetched from Google.

    How to use the Brand Colour Generator

    1. 1 Type your brand name and pick or paste your main colour, or press Random colours.
    2. 2 Choose a colour harmony: complementary, analogous, triadic, split-complementary or monochrome.
    3. 3 Lock the colours you like and vary the rest until the palette feels right.
    4. 4 Check the contrast table and the suggested text colours, then choose a font pairing.
    5. 5 Export the CSS variables, JSON, palette image, wordmark or Markdown brand kit.

    What it does

    • Five-colour palettes from colour-harmony rules, calculated in OKLCH for even lightness
    • Lock, adjust and regenerate individual colours
    • HEX, RGB, HSL and OKLCH values with one-click copy
    • WCAG 2.2 contrast ratios for every pair, with AA and AAA results for normal and large text
    • Curated open-licence font pairings with links to each font on Google Fonts
    • A simple SVG wordmark mock-up in your colours
    • Exports: CSS custom properties, JSON, PNG and SVG palette images and a Markdown brand kit

    Useful for new businesses choosing their colours, designers starting a brand brief and developers setting up a website theme.

    Limitations

    • The wordmark is a typographic starting point, not a designed logo, and it is not checked against trademarks.
    • Font previews use your device's generic serif, sans-serif or monospace font, because we don't load fonts from Google. Open each font's page to see it.
    • Contrast ratios follow the WCAG formula for text; they don't tell you whether colours suit your audience or print well.
    • Colours look different on different screens and in print. Test them where they will be used.

    How the palette is built

    Every palette has five roles:

    • Primary: your main colour, used for buttons, links and key shapes.
    • Secondary and Accent: supporting colours chosen by the harmony rule.
    • Dark: a deep, low-saturation version of your hue, for text.
    • Light: a pale version of your hue, for backgrounds.

    The harmony rule decides the secondary and accent hues. Complementary adds the colour opposite yours on the colour wheel (180°). Analogous adds neighbours 30° either side. Triadic adds two colours a third of the way round (120° apart). Split-complementary takes the two colours either side of the opposite one (150° and 210°). Monochrome keeps one hue and changes lightness.

    The tool turns the wheel in OKLCH (lightness, chroma, hue) rather than HSL. The CSS Color 4 specification explains that HSL lightness “does not correspond to the visual perception of lightness across hues”, so an HSL yellow and blue at the same “lightness” look very different. In OKLCH, colours at the same lightness look closer in brightness, which makes palettes more balanced. Colours that can’t be shown on a normal screen are brought back into range by reducing their chroma.

    Reading the contrast checks

    Contrast is calculated with the WCAG 2.2 formula. Each colour’s relative luminance is worked out from its red, green and blue values (L = 0.2126 R + 0.7152 G + 0.0722 B, after converting each channel from sRGB to linear light). The contrast ratio is (L1 + 0.05) / (L2 + 0.05), where L1 is the lighter colour. It runs from 1:1 (no contrast) to 21:1 (black on white).

    Level Normal text Large text
    AA 4.5:1 3:1
    AAA 7:1 4.5:1

    Large text means at least 18 point (about 24 px) or 14 point bold (about 18.5 px). The tool never rounds a ratio up, so a pair shown as 4.49:1 fails AA for normal text. Use the “text on each colour” cards to see which text colour works on each background, and use pairs that only pass for large text for headings and big buttons, not paragraphs.

    Choosing fonts

    The font pairings are well-known combinations from Google Fonts, all under open licences. Several are families designed to work together, such as Source Serif 4 with Source Sans 3, or IBM Plex Sans with IBM Plex Serif. Others contrast a characterful heading font with a plain, readable body font. We don’t load the fonts on this page, which keeps it private and fast; the previews use your device’s generic fonts, so open each font’s page to see the real thing.

    Exporting your kit

    • CSS custom properties such as --brand-primary drop straight into a stylesheet.
    • JSON holds every colour format, the fonts and the contrast results for developers and design tools.
    • PNG and SVG palette images are handy for briefs and social posts.
    • The Markdown brand kit summarises colours, contrast and fonts in a document you can share.

    From palette to brand

    A palette and a font pair are the start of a brand, not the end. A designer can turn them into a distinctive logo, choose imagery and write guidelines so everything looks consistent. When your colours are settled, make matching icons with the favicon generator, an email signature and correctly sized social media images. For a complete identity, see our branding and design service.

    Frequently asked questions

    How many colours should a brand palette have?

    There is no fixed number. This tool makes five with clear jobs: a primary colour, a secondary and an accent from the harmony rule, a dark for text and a light for backgrounds. That covers buttons, headings, body text and backgrounds on a website or in social posts.

    What is a good contrast ratio for text?

    WCAG 2.2 asks for at least 4.5:1 between normal text and its background (level AA) and 3:1 for large text, which is at least 18 point or 14 point bold. The stricter AAA level asks for 7:1 and 4.5:1. The ratios are not rounded, so 4.49:1 does not meet 4.5:1.

    What do complementary, analogous and triadic mean?

    They describe where colours sit on the colour wheel. Complementary colours are opposite each other, analogous colours are neighbours, and triadic colours are evenly spaced, a third of the way around. Split-complementary uses the two colours either side of the opposite one, and monochrome uses tints and shades of a single hue.

    Can I use these fonts for my business?

    The pairings use fonts from Google Fonts under the SIL Open Font License (OFL) or the Apache License. The OFL's own site says OFL fonts can be used in logos, artwork and websites and can be modified and redistributed, subject to the licence. Read the licence on each font's page before you use a font, and self-host the files on your website if you can.

    Is the wordmark a logo I can trademark?

    Treat it as a sketch for your brief. It is your name set in a free font, which is easy for others to copy and may be close to existing marks. A designer can turn the idea into a distinctive logo, and you should search the trademark register before you rely on any name or mark.

    Sources

    Phoot Technologies

    Ready for a logo that is truly yours?

    Our designers create logos, colour systems and brand guidelines for businesses in Ghana and beyond, from first sketches to files ready for print and web.

    Explore Branding & Design

    Tell us about your project

    Fields marked with an asterisk are required. We usually reply within one working day.

    Required if you prefer a call or WhatsApp.

    Optional. It helps us suggest the right scope.

    How should we contact you?

    What would you like to achieve, and by when? Links and rough ideas are welcome.

    We use your details only to respond to your enquiry. See our privacy policy.

    See all free tools