A very dark gray, white text passes AA

Tailwind neutral-950

Tailwind neutral-950 is oklch(14.5% 0 none) in Tailwind CSS 4.3.3, which is #0a0a0a in hex and rgb(10 10 10). White text on it reaches 19.80:1, passing WCAG AAA. Recolor (recolor.page) shows it on a real page below.

Last updated

#0a0a0aneutral-950
From the theme file of Tailwind CSS 4.3.3 (--color-neutral-950), converted with Recolor's color code, October 9, 2026
FormatValue
OKLCH, as Tailwind writes itoklch(14.5% 0 none)
Hex#0a0a0a
RGBrgb(10 10 10)
HSLhsl(0 0% 4%)
CSS variablevar(--color-neutral-950)
Nearest CSS nameblack #000000, 0.145 away in OKLab
White text19.80:1: AA passes, AAA passes, large text passes
Black text1.06:1: AA fails, AAA fails, large text fails

About neutral-950

Tailwind neutral-950 is a very dark gray: OKLCH lightness 14.5%, chroma 0.000, no hue. It closes the neutral scale as its darkest shade, 6.0 points of lightness below neutral-900.

HSL calls its lightness 4%, OKLCH 14.5%: 11 points between a formula and a measure of what the eye sees. Its value fits inside sRGB, so #0a0a0a is the same color, not an approximation.

White text on neutral-950 measures 19.80:1, past the 7:1 of WCAG AAA, while black text manages only 1.06:1. White text passes on every neutral shade from neutral-500 down, so neutral-950 is 5 shades past the line.

No CSS named color comes near it: the closest, black (#000000), is 0.145 away in OKLab.

Tints and shades

  1. #d0d0d0
  2. #a3a3a3
  3. #787878
  4. #505050
  5. #2b2b2b
  6. #0a0a0a
  7. #060606
  8. #030303
  9. #010101

From light to dark: 5 toward white and 3 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

  1. #0a0a0a
  2. #9dd1da
  3. #24616c
  4. #ffe7df
  5. #d05c41

Recolor's generator, with neutral-950 locked as swatch 1 and the seed taken from its hex, drew a complementary palette, built on the hue opposite: #9dd1da, #24616c, #ffe7df, #d05c41. Open it in Recolor.

Using neutral-950

Pair it with text-white, 19.80:1; neutral-950 as text on a white page measures the same ratio. In CSS it is var(--color-neutral-950).

HTML
<a class="bg-neutral-950 text-white" href="/start">Get started</a>
<p class="text-neutral-950">Text in neutral-950</p>

Common questions

Does white text pass WCAG AA on Tailwind neutral-950?

Yes. White text measures 19.80:1 on neutral-950, above the 4.5:1 that WCAG AA asks of body text, and above AAA's 7:1 too.

Is Tailwind neutral-950 defined in OKLCH?

Yes. Tailwind CSS 4.3.3 defines it as --color-neutral-950: oklch(14.5% 0 none); #0a0a0a is its conversion to sRGB.

Is there a CSS named color for Tailwind neutral-950?

No. The nearest CSS named color is black (#000000), 0.145 away in OKLab.

Sources