#F8ECEC#F8ECEC

#F8ECEC is a very light, near-neutral red. Relative luminance 0.860; OKLCH L 95.3% C 0.013 H 17.4°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#F8ECEC
RGBrgb(248, 236, 236)
HSLhsl(0, 46%, 95%)
HSVhsv(0, 5%, 97%)
CMYKcmyk(0%, 4.8%, 4.8%, 2.7%)
CIE-LABlab(94.31, 4.04, 1.45)
CIE-LCHlch(94.31, 4.29, 19.70°)
OKLaboklab(95.25% 0.0124 0.0039)
OKLCHoklch(95.25% 0.013 17.4)
XYZxyz(83.8452, 86.0042, 91.5241)
Luminance0.8600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ECEC #ECF8F8
analogous
#F8ECF2 #F8ECEC #F8F2EC
triadic
#F8ECEC #ECF8EC #ECECF8
tetradic
#F8ECEC #F2F8EC #ECF8F8 #F2ECF8
square
#F8ECEC #F2F8EC #ECF8F8 #F2ECF8
split-complementary
#F8ECEC #ECF8F2 #ECF2F8
monochromatic
#D79393 #E8BFBF #F7E9E9 #F7E9E9 #F7E9E9

Accessibility & contrast

On white

1.15
#F8ECEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#F8ECEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ECEC
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ECEC#FFFFFF#000000##000000
##F8ECEC1.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEEDEC
Deuteranopia (green-blind)
#F1EFEC
Tritanopia (blue-blind)
#FBEBEC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8ecec;
/* rgb */ color: rgb(248, 236, 236);
/* oklch */ color: oklch(95.3% 0.013 17.4);
Tailwind
colors: {
  custom: {
    50: '#faf2f2',
    500: '#f8ecec',
    950: '#000000',
  },
}
SCSS
$custom: #f8ecec;
$custom-light: #faf2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ecec",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 236
  },
  "hsl": {
    "h": 0,
    "s": 46.154,
    "l": 94.902
  },
  "oklch": {
    "l": 0.95251,
    "c": 0.01301,
    "h": 17.4
  },
  "luminance": 0.86003
}

Semantic roles & 50–950 ramp

primary
#F8ECEC
secondary
#B1D7D7
accent
#B9B92C
background
#FFFFFF
surface
#FFFEFE
border
#D7D6D6
text
#171616
muted
#858585

Preview Lab

Preview with #F8ECEC

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

Preview Lab → · Contrast checker → · Palette generator →

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