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
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.04:1
On Black
20.12:1
Tailwind Usage — All Utilities
Background
bg-zinc-50Text
text-zinc-50Border
border-zinc-50Ring
ring-zinc-50Outline
outline-zinc-50Fill
fill-zinc-50Stroke
stroke-zinc-50From (gradient)
from-zinc-50Via (gradient)
via-zinc-50To (gradient)
to-zinc-50Placeholder
placeholder-zinc-50Caret
caret-zinc-50Accent
accent-zinc-50Decoration
decoration-zinc-50Shadow Color
shadow-zinc-50Tailwind 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)
0°
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
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #FAFAFA
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Zinc 50
Nearest Tailwind equivalent — #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.