#FAB2EC#FAB2EC

#FAB2EC is a very light, moderate pink. Relative luminance 0.582; OKLCH L 84.9% C 0.111 H 333.6°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#FAB2EC
RGBrgb(250, 178, 236)
HSLhsl(312, 88%, 84%)
HSVhsv(312, 29%, 98%)
CMYKcmyk(0%, 28.8%, 5.6%, 2%)
CIE-LABlab(80.86, 35.06, -18.49)
CIE-LCHlch(80.86, 39.63, 332.20°)
OKLaboklab(84.88% 0.0998 -0.0495)
OKLCHoklch(84.88% 0.111 333.6)
XYZxyz(70.4841, 58.2237, 86.8661)
Luminance0.5822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAB2EC #B2FAC0
analogous
#E4B2FA #FAB2EC #FAB2C8
triadic
#FAB2EC #ECFAB2 #B2ECFA
tetradic
#FAB2EC #FAE4B2 #B2FAC0 #B2C8FA
square
#FAB2EC #FAE4B2 #B2FAC0 #B2C8FA
split-complementary
#FAB2EC #C8FAB2 #B2FAE4
monochromatic
#F33FD0 #F679DE #FAB2EC #FDE2F8 #FDE2F8

Accessibility & contrast

On white

1.66
#FAB2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#FAB2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAB2EC
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAB2EC#FFFFFF#000000##000000
##FAB2EC1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C3EE
Deuteranopia (green-blind)
#C3CCEA
Tritanopia (blue-blind)
#FFB5C6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #fab2ec;
/* rgb */ color: rgb(250, 178, 236);
/* oklch */ color: oklch(84.9% 0.111 333.6);
Tailwind
colors: {
  custom: {
    50: '#fdc9f2',
    500: '#fab2ec',
    950: '#000000',
  },
}
SCSS
$custom: #fab2ec;
$custom-light: #fdc9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fab2ec",
  "rgb": {
    "r": 250,
    "g": 178,
    "b": 236
  },
  "hsl": {
    "h": 311.667,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.84879,
    "c": 0.11137,
    "h": 333.6
  },
  "luminance": 0.58221
}

Semantic roles & 50–950 ramp

primary
#FAB2EC
secondary
#73DE87
accent
#E42D01
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FAB2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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