Color · Clothing

What colour goes with it?

Pick a garment and its colour. Get the colours that go with it, ranked, on an outfit mock-up, with a note on how far apart the two pieces are in lightness. Runs in your browser; nothing is sent or stored.

Short answer for grey pants: white, black, navy, charcoal and cream are the safest shirts, and burgundy, purple or forest green add colour without fighting the grey. Neutrals go with nearly everything; the matcher below shows why each colour ranks where it does. These are fashion conventions, not rules.

Sources: CIE LCh hue geometry (W3C CSS Color 4); WCAG 2.2 luminance formula; fashion conventionVerified 2 October 2026

Advertisement

Your garment

Garment
Its colour

Matching colours

    Tap a colour to preview it on the mock-up. Swatches are representative shades; real fabric, texture and lighting shift them. Guidance only.

    Advertisement

    How the matching works

    1. Neutral or colour. Each of the 24 colours is marked neutral (white, cream, light grey, grey, charcoal, black, navy, denim, beige, tan, khaki, brown) or chromatic (the other 12). That split is fashion convention, not a measurement: neutrals are the colours style guides treat as anchors for any outfit.

    2. Hue geometry. For two chromatic colours we convert each swatch from sRGB to CIE L*a*b* (D65) and take the hue angle h = atan2(b*, a*), as in the CIE LCh model defined in CSS Color Level 4. The angle between the two hues decides the rule: analogous up to 45° apart (+2), triad 100° to 140° (+2, around the 120° triad spacing), complementary 150° or more (+3, near the 180° opposite), and anything else has no hue rule (0). The 45°, 100° to 140° and 150° cut-offs are this tool's own choices.

    3. Scores for neutrals. A neutral next to a chromatic colour scores +3 (anchor); neutral next to neutral +3; a chromatic colour next to a neutral base +2.

    4. Lightness contrast. We compare L* of the two swatches. Under 12 points apart the pair is too close and loses 3; 25 or more gains 1. We also show the WCAG 2.2 contrast ratio, ratio = (L1 + 0.05) / (L2 + 0.05) from relative luminance L = 0.2126·R + 0.7152·G + 0.0722·B on linearised sRGB, only as a lightness-difference number, not an accessibility claim. One pair, black with brown, is held down by convention (-3).

    5. Tiers. Score 4 or more is Great, 2 to 3 is Good, 1 or below is Weak.

    Worked example: grey pants

    Select pants and grey. The first five results are black, white, navy, charcoal and cream. Each receives a score of 4, but for different measured lightness gaps. Black is about 52 L* points from the grey swatch; cream is about 34. The score tells you why a pairing surfaced. It does not tell you which outfit is right for a wedding, a uniform policy or your own wardrobe.

    Use the palette generator when you want to start from the exact garment hex instead of a name. If the colours will carry text or interface meaning, test them in the WCAG contrast checker. For clothing choices based on hair, eyes and skin together, use the separate clothing-colour guide; those inputs are deliberately not folded into this matcher.

    Sources. W3C, CSS Color Module Level 4, Lab and LCh; named colours (navy, olive, khaki, beige, tan, teal and others share their names with CSS colours, but our swatches are more muted, typical fabric shades); WCAG 2.2 contrast ratio. Hue-wheel rules are colour theory; which pairings look good on clothes is convention, and tastes differ.

    Limits. One swatch per colour name. Patterns, fabric texture, shoes and accessories, skin tone, dress codes and personal style are not modelled.

    Privacy and review. Garment and colour choices stay in the page and are reflected only in the URL fragment after #; they are not saved to an account. Method and links reviewed 17 November 2026.

    Frequently asked questions

    What colour shirt goes with grey pants?

    The tool ranks black, white, navy, charcoal and cream highest for its representative grey. Burgundy, purple, forest green and blush pink are higher-scoring chromatic options. Check the actual garments together because fabric and lighting shift the result.

    What colours go with navy?

    White, cream, light grey, beige and tan lead for the navy swatch because they create a strong light-dark split. The ranking also includes chromatic options, but the exact order depends on the single swatches chosen for this tool.

    What goes with olive or khaki?

    For this tool's olive, white, cream and light grey rank strongly, with lavender among the chromatic matches. Khaki is a different yellow-brown swatch and produces its own list, so select it separately rather than treating the names as interchangeable.

    Can black and brown work together?

    Yes. This tool deliberately lowers that pair as a conservative convention, but it is not an objective prohibition. A visible lightness difference, repeated brown accents or contrasting textures can make the combination intentional.

    What do complementary, triad and analogous mean here?

    They describe the distance between two chromatic swatches on this tool's CIE LCh hue circle. The cutoff angles are rules chosen for this ranking, not universal fashion standards.

    Does the ranking account for my skin tone or dress code?

    No. It compares garment swatches only. Skin tone, workplace rules, occasion, pattern, texture, footwear and personal preference are outside the score.

    Why does my garment look different from the named swatch?

    Each name maps to one representative sRGB colour. Dye, fibre, weave, wear, camera processing and room light can all make a real garment lighter, darker or more saturated.

    Advertisement