#FB9AEC#FB9AEC

#FB9AEC is a light, vivid purple. Relative luminance 0.497; OKLCH L 81.1% C 0.153 H 332.7°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#FB9AEC
RGBrgb(251, 154, 236)
HSLhsl(309, 92%, 79%)
HSVhsv(309, 39%, 98%)
CMYKcmyk(0%, 38.6%, 6%, 1.6%)
CIE-LABlab(75.87, 47.83, -26.06)
CIE-LCHlch(75.87, 54.47, 331.41°)
OKLaboklab(81.12% 0.1363 -0.0704)
OKLCHoklch(81.12% 0.153 332.7)
XYZxyz(66.4790, 49.6800, 85.4281)
Luminance0.4968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB9AEC #9AFBA9
analogous
#D99AFB #FB9AEC #FB9ABC
triadic
#FB9AEC #ECFB9A #9AECFB
tetradic
#FB9AEC #FBD99A #9AFBA9 #9ABCFB
square
#FB9AEC #FBD99A #9AFBA9 #9ABCFB
split-complementary
#FB9AEC #BCFB9A #9AFBD9
monochromatic
#F624D6 #F95FE1 #FB9AEC #FDD5F7 #FEE2F9

Accessibility & contrast

On white

1.92
#FB9AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#FB9AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB9AEC
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB9AEC#FFFFFF#000000##000000
##FB9AEC1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EF
Deuteranopia (green-blind)
#B1C0E9
Tritanopia (blue-blind)
#FF9FB9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fb9aec;
/* rgb */ color: rgb(251, 154, 236);
/* oklch */ color: oklch(81.1% 0.153 332.7);
Tailwind
colors: {
  custom: {
    50: '#feb9f2',
    500: '#fb9aec',
    950: '#000000',
  },
}
SCSS
$custom: #fb9aec;
$custom-light: #feb9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb9aec",
  "rgb": {
    "r": 251,
    "g": 154,
    "b": 236
  },
  "hsl": {
    "h": 309.278,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81118,
    "c": 0.15338,
    "h": 332.7
  },
  "luminance": 0.49677
}

Semantic roles & 50–950 ramp

primary
#FB9AEC
secondary
#D5F6DA
accent
#E62300
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FB9AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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