#FEF8F8#FEF8F8

#FEF8F8 is a very light, near-neutral red. Relative luminance 0.950; OKLCH L 98.4% C 0.006 H 17.3°. Best body text is #000000 at 20.00:1 contrast (WCAG AA passes).

Color values

HEX#FEF8F8
RGBrgb(254, 248, 248)
HSLhsl(0, 75%, 98%)
HSVhsv(0, 2%, 100%)
CMYKcmyk(0%, 2.4%, 2.4%, 0.4%)
CIE-LABlab(98.03, 1.99, 0.71)
CIE-LCHlch(98.03, 2.11, 19.55°)
OKLaboklab(98.37% 0.0061 0.0019)
OKLCHoklch(98.37% 0.006 17.3)
XYZxyz(91.3812, 94.9833, 102.3083)
Luminance0.9498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8F8 #F8FEFE
analogous
#FEF8FB #FEF8F8 #FEFBF8
triadic
#FEF8F8 #F8FEF8 #F8F8FE
tetradic
#FEF8F8 #FBFEF8 #F8FEFE #FBF8FE
square
#FEF8F8 #FBFEF8 #F8FEFE #FBF8FE
split-complementary
#FEF8F8 #F8FEFB #F8FBFE
monochromatic
#EF8D8D #F6C2C2 #FBE4E4 #FBE4E4 #FBE4E4

Accessibility & contrast

On white

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

On black

20.00
#FEF8F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8F8
20.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8F8#FFFFFF#000000##000000
##FEF8F81.001.0520.0020.00
#FFFFFF1.051.0021.0021.00
#00000020.0021.001.001.00
##00000020.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9F9F8
Deuteranopia (green-blind)
#FAFAF8
Tritanopia (blue-blind)
#FFF8F8
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fef8f8;
/* rgb */ color: rgb(254, 248, 248);
/* oklch */ color: oklch(98.4% 0.006 17.3);
Tailwind
colors: {
  custom: {
    50: '#fefafa',
    500: '#fef8f8',
    950: '#000000',
  },
}
SCSS
$custom: #fef8f8;
$custom-light: #fefafa;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8f8",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 248
  },
  "hsl": {
    "h": 0,
    "s": 75,
    "l": 98.431
  },
  "oklch": {
    "l": 0.98374,
    "c": 0.00642,
    "h": 17.3
  },
  "luminance": 0.94983
}

Semantic roles & 50–950 ramp

primary
#FEF8F8
secondary
#B3E7E7
accent
#D7D70E
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FEF8F8

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

Preview Lab → · Contrast checker → · Palette generator →

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