A vivid medium magenta, black text passes AA
Tailwind fuchsia-500
In Tailwind CSS 4.3.3, fuchsia-500 is defined as oklch(66.7% 0.295 322.15); in hex that is #e12afb, or rgb(225 42 251). Black text on it reaches 5.93:1, passing WCAG AA, and Recolor (recolor.page) can show it on a real page.
Last updated
--color-fuchsia-500), converted with Recolor's color code, October 9, 2026| Format | Value |
|---|---|
| OKLCH, as Tailwind writes it | oklch(66.7% 0.295 322.15) |
| Hex | #e12afb |
| RGB | rgb(225 42 251) |
| HSL | hsl(293 96% 57%) |
| CSS variable | var(--color-fuchsia-500) |
| Nearest CSS name | fuchsia #ff00ff, 0.056 away in OKLab |
| White text | 3.54:1: AA fails, AAA fails, large text passes |
| Black text | 5.93:1: AA passes, AAA fails, large text passes |
About fuchsia-500
In OKLCH, fuchsia-500 has a lightness of 66.7%, a chroma of 0.295 and a hue of 322.1 degrees, which makes it a vivid medium magenta. The step up to fuchsia-400 is 7.3 points of lightness, and the step down to fuchsia-600 7.6 points.
Its lightness is 57% in HSL and 66.7% in OKLCH, 9 points apart; only the second tracks how light it looks. The value lies inside sRGB, the gamut of a hex code, so fuchsia-500 converts to #e12afb without losing chroma.
With black text, fuchsia-500 passes AA at 5.93:1. White text, at 3.54:1, does not. On the fuchsia scale black text works down to fuchsia-600, which leaves fuchsia-500 1 shade of margin.
No CSS keyword matches it; fuchsia (#ff00ff) is the nearest, 0.056 away in OKLab, a clear step off.
Tints and shades
- #fde2ff
- #fac5ff
- #f5a7ff
- #ef86ff
- #e961fe
- #e12afb
- #b01fc5
- #821492
- #560a61
- #2f0335
- #0b000e
From light to dark: 5 toward white and 5 toward black, mixed in OKLCH a sixth of the way at a time with the hue kept. A step that would repeat its neighbor is left out.
A palette around it
- #e12afb
- #d0f0c8
- #704b7d
- #deb7e0
- #0a2f11
Locked as the first of five swatches, fuchsia-500 gets #d0f0c8, #704b7d, #deb7e0, #0a2f11 from Recolor's generator, a complementary palette, built on the hue opposite. The seed is its hex, so the palette stays the same. Open it in Recolor.
Using fuchsia-500
Pair it with text-black, 5.93:1; fuchsia-500 as text on a black page measures the same ratio. In CSS it is var(--color-fuchsia-500).
<a class="bg-fuchsia-500 text-black" href="/start">Get started</a>
<p class="text-fuchsia-500">Text in fuchsia-500</p>Common questions
Does white text pass WCAG AA on Tailwind fuchsia-500?
No. White text measures 3.54:1 on fuchsia-500, under AA's 4.5:1; black text measures 5.93:1 and passes. The lightest fuchsia shade for white text is fuchsia-600.
Is Tailwind fuchsia-500 defined in OKLCH?
Yes. Tailwind CSS 4.3.3 defines it as --color-fuchsia-500: oklch(66.7% 0.295 322.15); #e12afb is its conversion to sRGB.
Is there a CSS named color for Tailwind fuchsia-500?
No. The nearest CSS named color is fuchsia (#ff00ff), 0.056 away in OKLab.
Sources
- Tailwind CSS: Colors tailwindcss.com
- WCAG 2.2: Contrast (Minimum) w3.org