#FEF0EF#FEF0EF

#FEF0EF is a very light, near-neutral red. Relative luminance 0.896; OKLCH L 96.6% C 0.015 H 22.4°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FEF0EF
RGBrgb(254, 240, 239)
HSLhsl(4, 88%, 97%)
HSVhsv(4, 6%, 100%)
CMYKcmyk(0%, 5.5%, 5.9%, 0.4%)
CIE-LABlab(95.84, 4.53, 2.17)
CIE-LCHlch(95.84, 5.03, 25.57°)
OKLaboklab(96.59% 0.0141 0.0058)
OKLCHoklch(96.59% 0.015 22.4)
XYZxyz(87.6112, 89.6239, 94.3284)
Luminance0.8962 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF0EF #EFFDFE
analogous
#FEEFF6 #FEF0EF #FEF8EF
triadic
#FEF0EF #EFFEF0 #F0EFFE
tetradic
#FEF0EF #F6FEEF #EFFDFE #F8EFFE
square
#FEF0EF #F6FEEF #EFFDFE #F8EFFE
split-complementary
#FEF0EF #EFFEF8 #EFF6FE
monochromatic
#F7847C #FABAB5 #FDE4E2 #FDE4E2 #FDE4E2

Accessibility & contrast

On white

1.11
#FEF0EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.92
#FEF0EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF0EF
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF0EF#FFFFFF#000000##000000
##FEF0EF1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2F2EF
Deuteranopia (green-blind)
#F5F4EF
Tritanopia (blue-blind)
#FFEFF0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef0ef;
/* rgb */ color: rgb(254, 240, 239);
/* oklch */ color: oklch(96.6% 0.015 22.4);
Tailwind
colors: {
  custom: {
    50: '#fef4f4',
    500: '#fef0ef',
    950: '#000000',
  },
}
SCSS
$custom: #fef0ef;
$custom-light: #fef4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef0ef",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 239
  },
  "hsl": {
    "h": 4,
    "s": 88.235,
    "l": 96.667
  },
  "oklch": {
    "l": 0.96586,
    "c": 0.01523,
    "h": 22.4
  },
  "luminance": 0.89623
}

Semantic roles & 50–950 ramp

primary
#FEF0EF
secondary
#A7E6EA
accent
#D6E501
background
#FFFFFF
surface
#FFFEFE
border
#D7D6D6
text
#171717
muted
#858585

Preview Lab

Preview with #FEF0EF

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

Preview Lab → · Contrast checker → · Palette generator →

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