split complementary
Split Complementary · hue 327°
Five sRGB colours from explicit HSL steps. The strongest measured pair is #371528 / #DEF1DA at 13.61:1.
What is in this study
| Construction | split complementary |
|---|---|
| SVG dimensions | 960 × 600 |
| Geometric primitives | 5 |
| 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 |
|---|---|---|---|---|---|
| #371528 | 1.00:1 | 2.92:1 | 6.34:1 | 6.53:1 | 13.61:1 |
| #39762D | 2.92:1 | 1.00:1 | 2.17:1 | 2.23:1 | 4.65:1 |
| #46B1B9 | 6.34:1 | 2.17:1 | 1.00:1 | 1.03:1 | 2.15:1 |
| #D590B6 | 6.53:1 | 2.23:1 | 1.03:1 | 1.00:1 | 2.08:1 |
| #DEF1DA | 13.61:1 | 4.65:1 | 2.15:1 | 2.08:1 | 1.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.