#FFF8FB#FFF8FB

#FFF8FB is a very light, near-neutral pink. Relative luminance 0.954; OKLCH L 98.5% C 0.008 H 349.3°. Best body text is #000000 at 20.07:1 contrast (WCAG AA passes).

Color values

HEX#FFF8FB
RGBrgb(255, 248, 251)
HSLhsl(334, 100%, 99%)
HSVhsv(334, 3%, 100%)
CMYKcmyk(0%, 2.7%, 1.6%, 0%)
CIE-LABlab(98.18, 2.84, -0.61)
CIE-LCHlch(98.18, 2.91, 347.93°)
OKLaboklab(98.54% 0.0083 -0.0016)
OKLCHoklch(98.54% 0.008 349.3)
XYZxyz(92.2174, 95.3602, 104.7963)
Luminance0.9536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF8FB #F8FFFC
analogous
#FFF8FE #FFF8FB #FFF8F8
triadic
#FFF8FB #FBFFF8 #F8FBFF
tetradic
#FFF8FB #FEFFF8 #F8FFFC #F8F8FF
square
#FFF8FB #FEFFF8 #F8FFFC #F8F8FF
split-complementary
#FFF8FB #F8FFF8 #F8FEFF
monochromatic
#FF7EB5 #FFBBD8 #FFE0EE #FFE0EE #FFE0EE

Accessibility & contrast

On white

1.05
#FFF8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.07
#FFF8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF8FB
20.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF8FB#FFFFFF#000000##000000
##FFF8FB1.001.0520.0720.07
#FFFFFF1.051.0021.0021.00
#00000020.0721.001.001.00
##00000020.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff8fb;
/* rgb */ color: rgb(255, 248, 251);
/* oklch */ color: oklch(98.5% 0.008 349.3);
Tailwind
colors: {
  custom: {
    50: '#fffafc',
    500: '#fff8fb',
    950: '#000000',
  },
}
SCSS
$custom: #fff8fb;
$custom-light: #fffafc;
$custom-dark: #000000;
JSON
{
  "hex": "#fff8fb",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 251
  },
  "hsl": {
    "h": 334.286,
    "s": 100,
    "l": 98.627
  },
  "oklch": {
    "l": 0.98536,
    "c": 0.00842,
    "h": 349.3
  },
  "luminance": 0.9536
}

Semantic roles & 50–950 ramp

primary
#FFF8FB
secondary
#ABF0D3
accent
#E68300
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#181717
muted
#868585

Preview Lab

Preview with #FFF8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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