red-600
#e7000bTailwind CSS v4.3.3 red-600 is oklch(57.7% 0.245 27.325) in OKLCH, the format Tailwind uses, and #e7000b in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-red-600/50.
Text on red-600
- Aawhite4.76:1Readable · AA
- Aablack4.41:1Hard to read
- Aared-504.36:1Hard to read
Most readable text from the red scale: red-50
Tailwind red scale
Step 600 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind red-600?
red-600 is #e7000b in HEX, rgb(231 0 11) in RGB and oklch(57.7% 0.245 27.325) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind red-600 accessible for text?
White text on red-600 has a contrast ratio of 4.76:1 and black text 4.41: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-600 in Tailwind CSS?
Add bg-red-600, text-red-600 or border-red-600 to an element. In your own CSS use var(--color-red-600), the CSS variable Tailwind v4 creates for every color.