#DFD6A6
#CBD1FF
Contrast
Can people read it?
Each cell is the row colour as text on the column colour, with its WCAG 2.2 contrast ratio. Ratios are cut, never rounded up: 4.49 is not 4.5.
AAA 7:1 or more: any text
AA 4.5:1: body text
AA large 3:1: large text (24px, or 14pt bold, about 18.7px) and buttons, icons, borders
Fails under 3:1: decoration only
| Text colour | #DFD6A6 | #CBD1FF |
|---|---|---|
| #DFD6A6 | same colour | 1.01:1Fails |
| #CBD1FF | 1.01:1Fails | same colour |
Best pairs for text
Every pair that reaches 4.5:1, strongest first, with plain white and near-black added as candidates.
#121212 + #DFD6A6 12.76:1 AAA
#121212 + #CBD1FF 12.58:1 AAA
Contrast is one part of accessibility, not all of it. RiotPad checks colour pairs against WCAG 2.2; it does not certify a website as accessible. Ratios use the WCAG 2.2 relative-luminance formula (Success Criteria 1.4.3, 1.4.6 and 1.4.11).