#F8ECF2#F8ECF2

#F8ECF2 is a very light, near-neutral pink. Relative luminance 0.864; OKLCH L 95.4% C 0.015 H 345.6°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F8ECF2
RGBrgb(248, 236, 242)
HSLhsl(330, 46%, 95%)
HSVhsv(330, 5%, 97%)
CMYKcmyk(0%, 4.8%, 2.4%, 2.7%)
CIE-LABlab(94.47, 5.07, -1.45)
CIE-LCHlch(94.47, 5.27, 344.05°)
OKLaboklab(95.42% 0.0146 -0.0038)
OKLCHoklch(95.42% 0.015 345.6)
XYZxyz(84.7316, 86.3588, 96.1924)
Luminance0.8636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ECF2 #ECF8F2
analogous
#F8ECF8 #F8ECF2 #F8ECEC
triadic
#F8ECF2 #F2F8EC #ECF2F8
tetradic
#F8ECF2 #F8F8EC #ECF8F2 #ECECF8
square
#F8ECF2 #F8F8EC #ECF8F2 #ECECF8
split-complementary
#F8ECF2 #ECF8EC #ECF8F8
monochromatic
#D793B5 #E8BFD3 #F7E9F0 #F7E9F0 #F7E9F0

Accessibility & contrast

On white

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

On black

18.27
#F8ECF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ECF2
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ECF2#FFFFFF#000000##000000
##F8ECF21.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDEEF2
Deuteranopia (green-blind)
#EFF0F2
Tritanopia (blue-blind)
#FAECEE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8ecf2;
/* rgb */ color: rgb(248, 236, 242);
/* oklch */ color: oklch(95.4% 0.015 345.6);
Tailwind
colors: {
  custom: {
    50: '#faf2f6',
    500: '#f8ecf2',
    950: '#000000',
  },
}
SCSS
$custom: #f8ecf2;
$custom-light: #faf2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ecf2",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 242
  },
  "hsl": {
    "h": 330,
    "s": 46.154,
    "l": 94.902
  },
  "oklch": {
    "l": 0.9542,
    "c": 0.01512,
    "h": 345.6
  },
  "luminance": 0.86358
}

Semantic roles & 50–950 ramp

primary
#F8ECF2
secondary
#B1D7C4
accent
#B9732C
background
#FFFFFF
surface
#FFFEFE
border
#D7D6D6
text
#171617
muted
#858585

Preview Lab

Preview with #F8ECF2

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

Preview Lab → · Contrast checker → · Palette generator →

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