Contrast en.wikipedia.org is difference, and almost all of the difference that matters for reading is difference in value rather than in hue. Two colours of the same lightness will vibrate against each other and be hard to read even when they look nothing alike.

Try it
Set a pale grey on white, then darken it until it passes. Most failing pairs are only one step too light.
Open till late, every day
Small type is where contrast fails first. A heading this size can get away with a pale colour that a line of body text cannot, which is why the rules give large text a lower floor.
2.78:1
- Body text · needs 4.5:1
- Large text · needs 3:1
- Body text, strictest (AAA) · needs 7:1
The rest of this is for members.
You have read the opening of this lesson. The rest of it comes with a membership.
One membership covers all four courses and Brands.
- All lessons in the four Learn courses
- All brand breakdowns in the Brands section
- All quizzes, flashcards and crosswords
- An AI teacher on every lesson, for up to 60 questions a day
- All course material published during the membership
Price
Membership is from $12 a month on the Yearly plan, which is charged at $144 once a year. Lifetime access is $59, paid once.Membership is from ₹200 a month on the Yearly plan, which is charged at ₹2,400 + GST once a year. Lifetime access is ₹3,999 + GST, paid once.