Skip to main content

bg-zinc-50

Tailwind Zinc 50

#FAFAFA·Zinc family·Shade 50

Color Values

HEX
#FAFAFA
RGB
rgb(250, 250, 250)
HSL
hsl(0, 0%, 98%)
OKLCH
oklch(0.985 0.000 0)
CMYK
cmyk(0%, 0%, 0%, 2%)
CSS Variable
var(--color-zinc-50)
Tailwind Class
bg-zinc-50

Accessibility Score

60/100

Good

Based on WCAG 2.1 contrast ratios against white and black backgrounds.

On White

1.04:1

Fail

On Black

20.12:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-zinc-50

Text

text-zinc-50

Border

border-zinc-50

Ring

ring-zinc-50

Outline

outline-zinc-50

Fill

fill-zinc-50

Stroke

stroke-zinc-50

From (gradient)

from-zinc-50

Via (gradient)

via-zinc-50

To (gradient)

to-zinc-50

Placeholder

placeholder-zinc-50

Caret

caret-zinc-50

Accent

accent-zinc-50

Decoration

decoration-zinc-50

Shadow Color

shadow-zinc-50

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'zinc-50': '#fafafa', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #FAFAFA;

/* RGB */
background-color: rgb(250, 250, 250);

/* HSL */
background-color: hsl(0, 0%, 98%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.985 0.000 0);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-zinc-50);

/* Gradient example */
background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 100%);

OKLCH — Modern Color Space

Lightness (L)

0.985

99% perceived brightness

Chroma (C)

0.000

Color intensity / saturation

Hue (H)

Angle on perceptual hue wheel

oklch(0.985 0.000 0)

OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.

Design Recommendations

Ultra-light background tint

Shade 50 of the Zinc palette

Recommended Uses

  • Page backgrounds
  • Subtle section fills
  • Notification banners
  • Hover state backgrounds
  • Table row alternates

Avoid

Text on white — contrast is too low for readability.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #FAFAFA

Frequently Asked Questions

What is the hex code for Tailwind Zinc 50?
Tailwind Zinc 50 has the hex code #FAFAFA. Its RGB value is rgb(250, 250, 250) and its HSL value is hsl(0, 0%, 98%).
What Tailwind utility classes use Zinc 50?
Use bg-zinc-50 for backgrounds, text-zinc-50 for text color, border-zinc-50 for borders, and ring-zinc-50 for focus rings. In Tailwind v4 the CSS variable var(--color-zinc-50) is available natively.
Is Tailwind Zinc 50 WCAG accessible?
Tailwind Zinc 50 achieves a 1.04:1 contrast ratio on white (Fail) and 20.12:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Zinc 50?
Tailwind Zinc 50 in OKLCH is oklch(0.985 0.000 0) — lightness 0.985, chroma 0.000, hue 0°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Zinc 50 used for?
At shade 50, Tailwind Zinc 50 is best described as "Ultra-light background tint". Recommended uses: Page backgrounds, Subtle section fills, Notification banners.