The quick brown fox jumps over the lazy dog
Contrast Ratio
5.91
to 1
AA NormalPASS
AAA NormalFAIL
AA LargePASS
AAA LargePASS
Color Details
Text Color
Red 700
#b91c1ctext-red-700
Background Color
Red 50
#fef2f2bg-red-50
WCAG Compliance
| Criterion | Min Ratio | Result |
|---|---|---|
| Normal Text AA | 4.5:1 | PASS |
| Normal Text AAA | 7:1 | FAIL |
| Large Text AA | 3:1 | PASS |
| Large Text AAA | 4.5:1 | PASS |
Code Examples
Tailwind CSShtml
<!-- Text color: text-red-700 -->
<!-- Background: bg-red-50 -->
<div class="bg-red-50 p-6 rounded-lg">
<p class="text-red-700">
Your accessible text here
</p>
</div>Plain CSScss
/* Text: #b91c1c on Background: #fef2f2 */
.accessible-container {
background-color: #fef2f2;
color: #b91c1c;
padding: 1.5rem;
border-radius: 0.5rem;
}Use Cases
- Heading text on light cards
- Sidebar navigation labels
Accessible Alternatives
Aa
text-red-8007.60:1
bg-red-50
Aa
text-red-9009.16:1
bg-red-50
Aa
text-red-7005.30:1
bg-red-100
Frequently Asked Questions
Is red 700 text on red 50 accessible?▼
Yes, this combination passes WCAG AA with a contrast ratio of 5.91:1, meeting the minimum 4.5:1 requirement for normal text.
What is the contrast ratio of red 700 on red 50?▼
The contrast ratio is 5.91: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.
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