Midnight Edition on Heavy Cream
#0c121b on #e8ddc6
Body text at this size
And the smaller size most interfaces actually use for paragraphs — the size that decides whether a pair is usable.
Caption text, which almost nothing passes.
WCAG 2.1
13.94:1
Passes AA for body text
AAA too. Swapping the two colours gives the same number — the ratio does not know which is the text.
APCA
Lc 85.8
Clears Lc 75 — body text at a normal size and weight.
Dark text on a lighter ground.
Colour difference
ΔE00 82.7
different colours
Above 10 — related only in the sense that both are colours.
Nothing to fix
This pair already clears 4.5:1, so #0c121b can stay exactly as it is. Check another pair.
And to someone missing a cone
protanopia
Ratio 13.72:1, ΔE00 82.1.
deuteranopia
Ratio 14.06:1, ΔE00 83.6.
tritanopia
Ratio 14.00:1, ΔE00 89.0.
The weakest of the three is protanopia, where the two are ΔE00 82.1 apart against 82.7 for a trichromat — still clearly two colours.
Both colours have pages of their own: Midnight Edition ·Heavy Cream · the same pair the other way round ·all pairs