red-950
#460809Tailwind CSS v4.3.3 red-950 is oklch(25.8% 0.092 26.042) in OKLCH, the format Tailwind uses, and #460809 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-red-950/50.
Text on red-950
- Aawhite16.14:1Readable · AA
- Aablack1.3:1Hard to read
- Aared-5014.78:1Readable · AA
Most readable text from the red scale: red-50
Tailwind red scale
Step 950 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind red-950?
red-950 is #460809 in HEX, rgb(70 8 9) in RGB and oklch(25.8% 0.092 26.042) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind red-950 accessible for text?
White text on red-950 has a contrast ratio of 16.14:1 and black text 1.3: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-950 in Tailwind CSS?
Add bg-red-950, text-red-950 or border-red-950 to an element. In your own CSS use var(--color-red-950), the CSS variable Tailwind v4 creates for every color.