#FEF2FB#FEF2FB

#FEF2FB is a very light, near-neutral pink. Relative luminance 0.915; OKLCH L 97.3% C 0.017 H 334.2°. Best body text is #000000 at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#FEF2FB
RGBrgb(254, 242, 251)
HSLhsl(315, 86%, 97%)
HSVhsv(315, 5%, 100%)
CMYKcmyk(0%, 4.7%, 1.2%, 0.4%)
CIE-LABlab(96.63, 5.57, -2.88)
CIE-LCHlch(96.63, 6.27, 332.65°)
OKLaboklab(97.31% 0.0157 -0.0076)
OKLCHoklch(97.31% 0.017 334.2)
XYZxyz(90.0352, 91.5407, 104.1740)
Luminance0.9154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2FB #F2FEF5
analogous
#FBF2FE #FEF2FB #FEF2F5
triadic
#FEF2FB #FBFEF2 #F2FBFE
tetradic
#FEF2FB #FEFBF2 #F2FEF5 #F2F5FE
square
#FEF2FB #FEFBF2 #F2FEF5 #F2F5FE
split-complementary
#FEF2FB #F5FEF2 #F2FEFB
monochromatic
#F580D8 #FAB9EA #FDE3F6 #FDE3F6 #FDE3F6

Accessibility & contrast

On white

1.09
#FEF2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.31
#FEF2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2FB
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2FB#FFFFFF#000000##000000
##FEF2FB1.001.0919.3119.31
#FFFFFF1.091.0021.0021.00
#00000019.3121.001.001.00
##00000019.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2F4FB
Deuteranopia (green-blind)
#F4F6FB
Tritanopia (blue-blind)
#FFF2F5
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef2fb;
/* rgb */ color: rgb(254, 242, 251);
/* oklch */ color: oklch(97.3% 0.017 334.2);
Tailwind
colors: {
  custom: {
    50: '#fef6fc',
    500: '#fef2fb',
    950: '#000000',
  },
}
SCSS
$custom: #fef2fb;
$custom-light: #fef6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2fb",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 251
  },
  "hsl": {
    "h": 315,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.97306,
    "c": 0.01741,
    "h": 334.2
  },
  "luminance": 0.9154
}

Semantic roles & 50–950 ramp

primary
#FEF2FB
secondary
#AAEABA
accent
#E23B03
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585

Preview Lab

Preview with #FEF2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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