red-700
#c10007Tailwind CSS v4.3.3 red-700 is oklch(50.5% 0.213 27.518) in OKLCH, the format Tailwind uses, and #c10007 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-red-700/50.
Text on red-700
- Aawhite6.42:1Readable · AA
- Aablack3.27:1Hard to read
- Aared-505.88:1Readable · AA
Most readable text from the red scale: red-50
Tailwind red scale
Step 700 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind red-700?
red-700 is #c10007 in HEX, rgb(193 0 7) in RGB and oklch(50.5% 0.213 27.518) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind red-700 accessible for text?
White text on red-700 has a contrast ratio of 6.42:1 and black text 3.27:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use red-700 in Tailwind CSS?
Add bg-red-700, text-red-700 or border-red-700 to an element. In your own CSS use var(--color-red-700), the CSS variable Tailwind v4 creates for every color.