rose-900
#8b0836Tailwind CSS v4.3.3 rose-900 is oklch(41% 0.159 10.272) in OKLCH, the format Tailwind uses, and #8b0836 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-rose-900/50.
Text on rose-900
- Aawhite9.63:1Readable · AA
- Aablack2.18:1Hard to read
- Aarose-508.75:1Readable · AA
Most readable text from the rose scale: rose-50
Tailwind rose scale
Step 900 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind rose-900?
rose-900 is #8b0836 in HEX, rgb(139 8 54) in RGB and oklch(41% 0.159 10.272) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind rose-900 accessible for text?
White text on rose-900 has a contrast ratio of 9.63:1 and black text 2.18: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 rose-900 in Tailwind CSS?
Add bg-rose-900, text-rose-900 or border-rose-900 to an element. In your own CSS use var(--color-rose-900), the CSS variable Tailwind v4 creates for every color.