monochrome
Monochrome · hue 348°
Five sRGB colours from explicit HSL steps. The strongest measured pair is #410C16 / #F7D4DB at 11.94:1.
What is in this study
| Construction | monochrome |
|---|---|
| SVG dimensions | 960 × 600 |
| Geometric primitives | 5 |
| Colours | #410C16, #8A1930, #D7284B, #E77E93, #F7D4DB |
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 | #410C16 | #8A1930 | #D7284B | #E77E93 | #F7D4DB |
|---|---|---|---|---|---|
| #410C16 | 1.00:1 | 1.75:1 | 3.33:1 | 6.05:1 | 11.94:1 |
| #8A1930 | 1.75:1 | 1.00:1 | 1.90:1 | 3.45:1 | 6.80:1 |
| #D7284B | 3.33:1 | 1.90:1 | 1.00:1 | 1.82:1 | 3.58:1 |
| #E77E93 | 6.05:1 | 3.45:1 | 1.82:1 | 1.00:1 | 1.97:1 |
| #F7D4DB | 11.94:1 | 6.80:1 | 3.58:1 | 1.97: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": 348,
"s": 69,
"l": 15
},
{
"h": 348,
"s": 69,
"l": 32
},
{
"h": 348,
"s": 69,
"l": 50
},
{
"h": 348,
"s": 69,
"l": 70
},
{
"h": 348,
"s": 69,
"l": 90
}
],
"hex": [
"#410C16",
"#8A1930",
"#D7284B",
"#E77E93",
"#F7D4DB"
],
"contrast_matrix": [
[
1.0,
1.755,
3.332,
6.054,
11.944
],
[
1.755,
1.0,
1.898,
3.449,
6.805
],
[
3.332,
1.898,
1.0,
1.817,
3.585
],
[
6.054,
3.449,
1.817,
1.0,
1.973
],
[
11.944,
6.805,
3.585,
1.973,
1.0
]
],
"strongest_pair": {
"first": "#410C16",
"second": "#F7D4DB",
"ratio": 11.944
}
}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.