Skip to content
PantoneTools
blue
Open Color

Gray 0

gray-0 · #F8F9FA

HEX

#F8F9FA

RGB

rgb(248, 249, 250)

CMYK

cmyk(1%, 0%, 0%, 2%)

HSL

hsl(210, 17%, 98%)

LAB

lab(97.9, -0.1, -0.6)

What is Gray 0?

Gray 0 is the gray-0 reference in the Open Color. Its sRGB value is #F8F9FA (rgb 248, 249, 250). It sits in the blue family. Open Color, an open-source color palette by Heeyeun designed for UI work. 13 hues across 10 shades (0 to 9) tuned for screen legibility and accessibility. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Gray 0 as a background.

Black text on this color

Sample text · 19.92 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.05 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Gray 0

An 11-step tonal scale derived from Gray 0 (#F8F9FA). 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.

Copied #FEFFFF

50

#FEFFFF

#FEFFFF

Copied #FEFEFE

100

#FEFEFE

#FEFEFE

Copied #FDFDFD

200

#FDFDFD

#FDFDFD

Copied #FCFCFD

300

#FCFCFD

#FCFCFD

Copied #FAFBFB

400

#FAFBFB

#FAFBFB

Copied #F8F9FA

500

#F8F9FA

#F8F9FA

Copied #D3D4D5

600

#D3D4D5

#D3D4D5

Copied #A1A2A3

700

#A1A2A3

#A1A2A3

Copied #707071

800

#707071

#707071

Copied #3E3E3F

900

#3E3E3F

#3E3E3F

Copied #1E1E1E

950

#1E1E1E

#1E1E1E

Lighter tints (mixed with white)

Copied #F9FAFB

15%

#F9FAFB

Copied #FAFBFC

30%

#FAFBFC

Copied #FBFCFC

45%

#FBFCFC

Copied #FCFDFD

60%

#FCFDFD

Copied #FDFEFE

75%

#FDFEFE

Darker shades (mixed with black)

Copied #E7E8E9

15%

#E7E8E9

Copied #D4D5D6

30%

#D4D5D6

Copied #BEBFC0

45%

#BEBFC0

Copied #A5A6A6

60%

#A5A6A6

Copied #858686

75%

#858686

Color harmonies for Gray 0

Classic color-theory harmonies derived from rotating the hue of Gray 0. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #F8F9FA

#F8F9FA

#F8F9FA

Copied #FBFAF9

#FBFAF9

#FBFAF9

Triadic

Three colors 120° apart

Copied #F8F9FA

#F8F9FA

#F8F9FA

Copied #FBF9FA

#FBF9FA

#FBF9FA

Copied #FAFBF9

#FAFBF9

#FAFBF9

Analogous

Two neighbors ±30° on the wheel

Copied #F9FBFB

#F9FBFB

#F9FBFB

Copied #F8F9FA

#F8F9FA

#F8F9FA

Copied #F9F9FB

#F9F9FB

#F9F9FB

Split-complementary

Base + two colors flanking its complement

Copied #F8F9FA

#F8F9FA

#F8F9FA

Copied #FBF9F9

#FBF9F9

#FBF9F9

Copied #FBFBF9

#FBFBF9

#FBFBF9

Tetradic

Two complementary pairs

Copied #F8F9FA

#F8F9FA

#F8F9FA

Copied #FAF9FB

#FAF9FB

#FAF9FB

Copied #FBFAF9

#FBFAF9

#FBFAF9

Copied #FAFBF9

#FAFBF9

#FAFBF9

Square

Four colors evenly spaced 90° apart

Copied #F8F9FA

#F8F9FA

#F8F9FA

Copied #FBF9FB

#FBF9FB

#FBF9FB

Copied #FBFAF9

#FBFAF9

#FBFAF9

Copied #F9FBF9

#F9FBF9

#F9FBF9

Gray 0 in every color space

Full conversion of Gray 0 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

#F8F9FA

RGB

rgb(248, 249, 250)

CMYK

cmyk(1%, 0%, 0%, 2%)

HSL

hsl(210, 17%, 98%)

HSV

hsv(210, 1%, 98%)

HWB

hwb(210 97% 2%)

CIE Lab

lab(97.9 -0.1 -0.6)

OKLCH

oklch(98.2% 0.002 247.8)

XYZ (D65)

xyz(89.84, 94.61, 103.95)

Copy-ready code for Gray 0

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: #F8F9FA;
background-color: #F8F9FA;

CSS variable

:root {
  --color-gray-0: #F8F9FA;
}

Tailwind config

// tailwind.config.js
colors: {
  'gray-0': '#F8F9FA',
}

Sass

$color-gray-0: #F8F9FA;

Swift UIColor

UIColor(red: 0.973, green: 0.976, blue: 0.980, alpha: 1.0)

Android XML

<color name="gray-0">#F8F9FA</color>

Closest match in every color system

The nearest Gray 0 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 Open Color

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

Copied #FFFFFF

RAL 9010

#FFFFFF

Pure white

Copied #D7D7D7

RAL 7035

#D7D7D7

Light grey

Copied #D7D7D7

RAL 9018

#D7D7D7

Papyrus white

Copied #FDF4E3

RAL 9001

#FDF4E3

Cream

FAQ about Gray 0

What is the HEX code for Gray 0?

Gray 0 (gray-0) has the HEX code #F8F9FA. In RGB it is rgb(248, 249, 250), and in CMYK it is cmyk(1%, 0%, 0%, 2%).

What is the OKLCH value of Gray 0?

Gray 0 converts to oklch(0.982 0.002 247.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Gray 0 accessible for body text?

Used as a background, Gray 0 has a contrast ratio of 19.92: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 0?

The closest Pantone reference to Gray 0 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 0?

The closest RAL Classic reference to Gray 0 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 0?

The complementary color (180° opposite on the HSL color wheel) of Gray 0 is #FBFAF9. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Open Color (Yeun)

Open Color, an open-source color palette by Heeyeun designed for UI designers and developers. 13 hues across 10 shades. Use as a designer-friendly palette alternative to Tailwind. Values are intentionally chosen for UI legibility and accessibility.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

open-color
design-token
ui
blue

Open Color values are tuned for digital UI. For print, treat as a starting point and proof against the substrate.

Open Color · Gray 0 — #F8F9FA | PantoneTools