red-100
#ffe2e2Tailwind CSS v4.3.3 red-100 is oklch(93.6% 0.032 17.717) in OKLCH, the format Tailwind uses, and #ffe2e2 in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-red-100/50.
Text on red-100
- Aawhite1.22:1Hard to read
- Aablack17.2:1Readable · AA
- Aared-95013.22:1Readable · AA
Most readable text from the red scale: red-950
Tailwind red scale
Step 100 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind red-100?
red-100 is #ffe2e2 in HEX, rgb(255 226 226) in RGB and oklch(93.6% 0.032 17.717) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind red-100 accessible for text?
White text on red-100 has a contrast ratio of 1.22:1 and black text 17.2:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so black text is the better choice here.
How do I use red-100 in Tailwind CSS?
Add bg-red-100, text-red-100 or border-red-100 to an element. In your own CSS use var(--color-red-100), the CSS variable Tailwind v4 creates for every color.