The quick brown fox jumps over the lazy dog

Contrast Ratio

20.07

to 1

AA NormalPASS
AAA NormalPASS
AA LargePASS
AAA LargePASS

Color Details

Text Color

Black

#000000text-black

Background Color

Slate 50

#f8fafcbg-slate-50

WCAG Compliance

CriterionMin RatioResult
Normal Text AA4.5:1PASS
Normal Text AAA7:1PASS
Large Text AA3:1PASS
Large Text AAA4.5:1PASS

Code Examples

Tailwind CSShtml
<!-- Text color: text-black -->
<!-- Background: bg-slate-50 -->
<div class="bg-slate-50 p-6 rounded-lg">
  <p class="text-black">
    Your accessible text here
  </p>
</div>
Plain CSScss
/* Text: #000000 on Background: #f8fafc */
.accessible-container {
  background-color: #f8fafc;
  color: #000000;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

Use Cases

  • Body text on light backgrounds
  • Form labels and input text
  • Article content typography

Accessible Alternatives

Aa
text-black8.19:1

bg-slate-400

Aa
text-black14.14:1

bg-slate-300

Aa
text-black17.03:1

bg-slate-200

Frequently Asked Questions

Is black text on slate 50 accessible?
Yes, this combination passes WCAG AA with a contrast ratio of 20.07:1, meeting the minimum 4.5:1 requirement for normal text.
What is the contrast ratio of black on slate 50?
The contrast ratio is 20.07:1. WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. WCAG AAA requires 7:1 for normal text and 4.5:1 for large text.
Does this combination meet WCAG AAA?
Yes, with a 20.07:1 contrast ratio, this combination meets the strictest WCAG AAA standard (7:1 minimum), making it excellent for maximum accessibility.

Related Color Pairs

Check Your Own Color Pair

Use our free contrast checker to test any combination of text and background colors.

Open Contrast Checker