Color Companion

Split-complementary colours

Softer than a straight complement, and usually easier to use in an outfit or a UI.

#ec4899

A light, vivid red. Closest CSS name: `deeppink`.

Hex
#ec4899
RGB
rgb(236 72 153)
HSL
hsl(330.4 81.2% 60.4%)
OKLCH
oklch(0.656 0.212 354.3)
CMYK
cmyk(0% 69.49% 35.17% 7.45%)
Nearest name
deeppink

Readable text

White text

3.53:1

Black text

5.95:1

Use black text. Passes AA for normal text: yes · AAA: no · AA for large text: yes

Worth knowing

  • Worth knowing

    8 derived colours are outside sRGB

    Rotating hue at this chroma produces colours a normal screen cannot display, so they have been clipped to the nearest sRGB colour. The hex values shown are therefore not exactly what the maths asked for, and the harmony will look slightly less even than it should.

    Fix: Lower the chroma of the input colour before deriving harmonies, or accept the clipped values as an approximation.

  • Worth knowing

    A mid-tone: neither white nor black text reaches AAA

    The best this colour manages is 5.95:1 — against black text. That clears WCAG AA for normal text (4.5:1) but not AAA (7:1). Mid-tones look fine in a mockup and then fail review, because both text colours are only just adequate.

    Fix: Use black text on it, and move the lightness further from the middle if the text has to meet AAA.

  • Note

    CMYK here is a naive conversion

    CMYK has no fixed meaning without an output profile — the same numbers print differently on different presses and papers. The value shown is the standard arithmetic conversion, not a colour-managed one.

    Fix: For print work, convert in software with the press profile applied.

Complementary — the opposite hue

  • complementary

    #00b788

    clipped to sRGB

Analogous — neighbouring hues

  • analogous −30°

    #cd58d8

  • analogous +30°

    #f8484b

Triadic — evenly spaced

  • triadic +120°

    #919c00

    clipped to sRGB

  • triadic +240°

    #009ffd

    clipped to sRGB

Split-complementary — softer opposites

  • split-complementary +150°

    #00b027

    clipped to sRGB

  • split-complementary +210°

    #00b1cc

    clipped to sRGB

Monochromatic — one hue, five lightnesses

  • lightness 0.25

    #5d0028

    clipped to sRGB

  • lightness 0.4

    #91004f

    clipped to sRGB

  • lightness 0.55

    #c61c79

  • lightness 0.7

    #fc58a7

  • lightness 0.85

    #ff8ad6

    clipped to sRGB

Try your own colour

Paste one on the home page — you can also pick a colour straight out of a photo there. This page is available as markdown.

Related examples