Small Colour Collections

split complementary

Split Complementary · hue 327°

Five sRGB colours from explicit HSL steps. The strongest measured pair is #371528 / #DEF1DA at 13.61:1.

Split Complementary · hue 327°
This preview uses the exact downloadable SVG.

What is in this study

Constructionsplit complementary
SVG dimensions960 × 600
Geometric primitives5
Colours#371528, #39762D, #46B1B9, #D590B6, #DEF1DA

HSL values are converted to eight-bit sRGB colours. Relative luminance and contrast are calculated from those final hex values using the WCAG sRGB formula. A ratio describes a colour pair; it does not certify the accessibility of a whole design.

Measured contrast pairs

Pair#371528#39762D#46B1B9#D590B6#DEF1DA
#3715281.00:12.92:16.34:16.53:113.61:1
#39762D2.92:11.00:12.17:12.23:14.65:1
#46B1B96.34:12.17:11.00:11.03:12.15:1
#D590B66.53:12.23:11.03:11.00:12.08:1
#DEF1DA13.61:14.65:12.15:12.08:11.00:1

Ratios use the exact exported sRGB hex values. They describe these pairs, not the accessibility of an entire interface.

The calculations follow the W3C definition of sRGB relative luminance; the contrast ratio is (lighter luminance + 0.05) / (darker luminance + 0.05).

The actual parameters

{
  "hsl": [
    {
      "h": 327,
      "s": 45,
      "l": 15
    },
    {
      "h": 110,
      "s": 45,
      "l": 32
    },
    {
      "h": 184,
      "s": 45,
      "l": 50
    },
    {
      "h": 327,
      "s": 45,
      "l": 70
    },
    {
      "h": 110,
      "s": 45,
      "l": 90
    }
  ],
  "hex": [
    "#371528",
    "#39762D",
    "#46B1B9",
    "#D590B6",
    "#DEF1DA"
  ],
  "contrast_matrix": [
    [
      1.0,
      2.925,
      6.344,
      6.532,
      13.612
    ],
    [
      2.925,
      1.0,
      2.169,
      2.233,
      4.654
    ],
    [
      6.344,
      2.169,
      1.0,
      1.03,
      2.146
    ],
    [
      6.532,
      2.233,
      1.03,
      1.0,
      2.084
    ],
    [
      13.612,
      4.654,
      2.146,
      2.084,
      1.0
    ]
  ],
  "strongest_pair": {
    "first": "#371528",
    "second": "#DEF1DA",
    "ratio": 13.612
  }
}

The JSON download also records every geometric primitive and the SHA-256 of the SVG file.

Make a variation

Copy the supplied --study-color-1 through --study-color-5 CSS variables into a stylesheet and assign them to text, backgrounds, or borders. If you change a hex value, calculate its contrast again before choosing a text and background pair.

Keep the SVG and CSS in the same directory when using the background-image rule. The CSS also exports the colours as custom properties.