Heavy Cream on Midnight Edition
#e8ddc6 on #0c121b
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 -86.0
Clears Lc 75 — body text at a normal size and weight.
Light text on a darker ground — the negative sign is the polarity.
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 #e8ddc6 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: Heavy Cream ·Midnight Edition · the same pair the other way round ·all pairs