#FAFAFA#FAFAFA

#FAFAFA is a very light, near-neutral grey. Relative luminance 0.956; OKLCH L 98.5% C 0.000 H 0.0°. Best body text is #000000 at 20.12:1 contrast (WCAG AA passes).

Color values

HEX#FAFAFA
RGBrgb(250, 250, 250)
HSLhsl(0, 0%, 98%)
HSVhsv(0, 0%, 98%)
CMYKcmyk(0%, 0%, 0%, 2%)
CIE-LABlab(98.27, 0.00, 0.00)
CIE-LCHlch(98.27, 0.00, 0.00°)
OKLaboklab(98.51% 0 0)
OKLCHoklch(98.51% 0 0)
XYZxyz(90.8624, 95.5973, 104.0892)
Luminance0.9560 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFAFA #FAFAFA
analogous
#FAFAFA #FAFAFA #FAFAFA
triadic
#FAFAFA #FAFAFA #FAFAFA
tetradic
#FAFAFA #FAFAFA #FAFAFA #FAFAFA
square
#FAFAFA #FAFAFA #FAFAFA #FAFAFA
split-complementary
#FAFAFA #FAFAFA #FAFAFA
monochromatic
#BDBDBD #DBDBDB #F0F0F0 #F0F0F0 #F0F0F0

Accessibility & contrast

On white

1.04
#FAFAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.12
#FAFAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFAFA
20.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFAFA#FFFFFF#000000##000000
##FAFAFA1.001.0420.1220.12
#FFFFFF1.041.0021.0021.00
#00000020.1221.001.001.00
##00000020.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAFAFA
Deuteranopia (green-blind)
#FAFAFA
Tritanopia (blue-blind)
#FAFAFA
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fafafa;
/* rgb */ color: rgb(250, 250, 250);
/* oklch */ color: oklch(98.5% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#fbfbfb',
    500: '#fafafa',
    950: '#000000',
  },
}
SCSS
$custom: #fafafa;
$custom-light: #fbfbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#fafafa",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 250
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 98.039
  },
  "oklch": {
    "l": 0.9851,
    "c": 0,
    "h": 0
  },
  "luminance": 0.95597
}

Semantic roles & 50–950 ramp

primary
#FAFAFA
secondary
#CCCCCC
accent
#8A8A5C
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FAFAFA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FAFAFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva