Gray 50
gray-50 · #F9FAFB
HEX
#F9FAFB
RGB
rgb(249, 250, 251)
CMYK
cmyk(1%, 0%, 0%, 2%)
HSL
hsl(210, 20%, 98%)
LAB
lab(98.2, -0.1, -0.6)
What is Gray 50?
Gray 50 is the gray-50 reference in the Tailwind CSS palette. Its sRGB value is #F9FAFB (rgb 249, 250, 251). It sits in the neutral family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Gray 50 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Gray 50
An 11-step tonal scale derived from Gray 50 (#F9FAFB). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#FFFFFF
#FFFFFF
100
#FEFEFE
#FEFEFE
200
#FDFDFE
#FDFDFE
300
#FCFDFD
#FCFDFD
400
#FBFBFC
#FBFBFC
500
#F9FAFB
#F9FAFB
600
#D4D5D5
#D4D5D5
700
#A2A3A3
#A2A3A3
800
#707171
#707171
900
#3E3F3F
#3E3F3F
950
#1E1E1E
#1E1E1E
Lighter tints (mixed with white)
15%
#FAFBFC
30%
#FBFCFC
45%
#FCFCFD
60%
#FDFDFD
75%
#FEFEFE
Darker shades (mixed with black)
15%
#E8E9EA
30%
#D5D6D6
45%
#BFC0C1
60%
#A6A6A7
75%
#868687
Color harmonies for Gray 50
Classic color-theory harmonies derived from rotating the hue of Gray 50. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#F9FAFB
#F9FAFB
#FBFAF9
#FBFAF9
Triadic
Three colors 120° apart
#F9FAFB
#F9FAFB
#FBF9FA
#FBF9FA
#FAFBF9
#FAFBF9
Analogous
Two neighbors ±30° on the wheel
#F9FBFB
#F9FBFB
#F9FAFB
#F9FAFB
#F9F9FB
#F9F9FB
Split-complementary
Base + two colors flanking its complement
#F9FAFB
#F9FAFB
#FBF9F9
#FBF9F9
#FBFBF9
#FBFBF9
Tetradic
Two complementary pairs
#F9FAFB
#F9FAFB
#FAF9FB
#FAF9FB
#FBFAF9
#FBFAF9
#FAFBF9
#FAFBF9
Square
Four colors evenly spaced 90° apart
#F9FAFB
#F9FAFB
#FBF9FB
#FBF9FB
#FBFAF9
#FBFAF9
#F9FBF9
#F9FBF9
Gray 50 in every color space
Full conversion of Gray 50 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#F9FAFB
RGB
rgb(249, 250, 251)
CMYK
cmyk(1%, 0%, 0%, 2%)
HSL
hsl(210, 20%, 98%)
HSV
hsv(210, 1%, 98%)
HWB
hwb(210 98% 2%)
CIE Lab
lab(98.2 -0.1 -0.6)
OKLCH
oklch(98.5% 0.002 247.8)
XYZ (D65)
xyz(90.66, 95.48, 104.90)
Copy-ready code for Gray 50
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #F9FAFB;
background-color: #F9FAFB;CSS variable
:root {
--color-gray-50: #F9FAFB;
}Tailwind config
// tailwind.config.js
colors: {
'gray-50': '#F9FAFB',
}Sass
$color-gray-50: #F9FAFB;Swift UIColor
UIColor(red: 0.976, green: 0.980, blue: 0.984, alpha: 1.0)Android XML
<color name="gray-50">#F9FAFB</color>Closest match in every color system
The nearest Gray 50 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in Tailwind CSS palette
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 9016
#F6F6F6
Traffic white
RAL 9010
#FFFFFF
Pure white
RAL 9003
#F4F4F4
Signal white
RAL 7035
#D7D7D7
Light grey
RAL 9018
#D7D7D7
Papyrus white
RAL 9001
#FDF4E3
Cream
FAQ about Gray 50
What is the HEX code for Gray 50?
Gray 50 (gray-50) has the HEX code #F9FAFB. In RGB it is rgb(249, 250, 251), and in CMYK it is cmyk(1%, 0%, 0%, 2%).
What is the OKLCH value of Gray 50?
Gray 50 converts to oklch(0.985 0.002 247.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Gray 50 accessible for body text?
Used as a background, Gray 50 has a contrast ratio of 20.10:1 with black text and 1.05:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Gray 50?
The closest Pantone reference to Gray 50 by ΔE2000 perceptual distance is Pantone Cool Gray 1 C (#D9D9D6). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Gray 50?
The closest RAL Classic reference to Gray 50 by ΔE2000 distance is RAL 9016 (Traffic white, #F6F6F6). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Gray 50?
The complementary color (180° opposite on the HSL color wheel) of Gray 50 is #FBFAF9. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
Tailwind CSS default palette (v3)
The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.
- Source type
- derived
- Confidence
- high
- License
- MIT
- Last reviewed
- 2026-05-24
Workflow tags
Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.