fuchsia-300
#f4a8ffTailwind CSS v4.3.3 fuchsia-300 is oklch(83.3% 0.145 321.434) in OKLCH, the format Tailwind uses, and #f4a8ff in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-fuchsia-300/50.
Text on fuchsia-300
- Aawhite1.77:1Hard to read
- Aablack11.85:1Readable · AA
- Aafuchsia-9508.38:1Readable · AA
Most readable text from the fuchsia scale: fuchsia-950
Tailwind fuchsia scale
Step 300 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind fuchsia-300?
fuchsia-300 is #f4a8ff in HEX, rgb(244 168 255) in RGB and oklch(83.3% 0.145 321.434) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind fuchsia-300 accessible for text?
White text on fuchsia-300 has a contrast ratio of 1.77:1 and black text 11.85: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 fuchsia-300 in Tailwind CSS?
Add bg-fuchsia-300, text-fuchsia-300 or border-fuchsia-300 to an element. In your own CSS use var(--color-fuchsia-300), the CSS variable Tailwind v4 creates for every color.