#C10007 on #000000: 3.27:1
#C10007 on #000000: contrast ratio 3.27:1 and APCA Lc -23. WCAG 2.2 AA and AAA results for normal text, large text and UI, plus the nearest accessible text or background color via OKLCH lightness.
Preview
Large heading sample
The quick brown fox jumps over the lazy dog
#C10007 on #000000
WCAG 2.2 contrast ratio: 3.27:1
WCAG 2.2 uses the same contrast formula as 2.1. Ratios are floored to two decimals, never rounded up.
| Text type | AA | AAA |
|---|---|---|
| Normal text | ✗ Fail | ✗ Fail |
| Large text (24px+, or 18.66px+ bold) | ✓ Pass | ✗ Fail |
| UI components and graphics | ✓ Pass | n/a |
APCA lightness contrast: Lc -23
Lc -23. Body text needs about Lc 75+, large text and UI about Lc 45+. Positive means dark text on a light background, negative means light text on dark.
Fixes via OKLCH lightness
The fix keeps hue and chroma and moves only OKLCH lightness to the nearest step that reaches the target for normal text, so it still looks like the same color. It is the same logic as the Fix button in the studio.
Fix the text color
- #DE3229 on #000000 →
AA: #DE3229 → 4.59:1
oklch(0.589 0.209 28.5) · ΔL +0.08
- #FF5F50 on #000000 →
AAA: #FF5F50 → 7.00:1
oklch(0.709 0.209 28.5) · ΔL +0.20 · clipped into sRGB
Fix the background
- #C10007 on #E4E4E4 →
AA: #E4E4E4 → 5.04:1
oklch(0.920 0.000 0.0) · ΔL +0.92
- No lightness of this color reaches AAA against the other color. Change hue or chroma, or pick another color.
#C10007 = oklch(0.509 0.209 28.5) · #000000 = oklch(0.000 0.000 0.0)
Open this pair in the Contrast tool
Guides: WCAG 2.2 vs APCA · How to fix colour contrast