#FB96F4#FB96F4

#FB96F4 is a light, vivid purple. Relative luminance 0.489; OKLCH L 80.8% C 0.167 H 329.5°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#FB96F4
RGBrgb(251, 150, 244)
HSLhsl(304, 93%, 79%)
HSVhsv(304, 40%, 98%)
CMYKcmyk(0%, 40.2%, 2.8%, 1.6%)
CIE-LABlab(75.36, 51.23, -31.19)
CIE-LCHlch(75.36, 59.98, 328.66°)
OKLaboklab(80.83% 0.1439 -0.0848)
OKLCHoklch(80.83% 0.167 329.5)
XYZxyz(67.0182, 48.8569, 91.4706)
Luminance0.4885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB96F4 #96FB9D
analogous
#CF96FB #FB96F4 #FB96C1
triadic
#FB96F4 #F4FB96 #96F4FB
tetradic
#FB96F4 #FBCF96 #96FB9D #96C1FB
square
#FB96F4 #FBCF96 #96FB9D #96C1FB
split-complementary
#FB96F4 #C1FB96 #96FBCF
monochromatic
#F720E8 #F95BEE #FB96F4 #FDD1FA #FEE2FC

Accessibility & contrast

On white

1.95
#FB96F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#FB96F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB96F4
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB96F4#FFFFFF#000000##000000
##FB96F41.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B1F7
Deuteranopia (green-blind)
#ACBFF1
Tritanopia (blue-blind)
#FF9EBA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fb96f4;
/* rgb */ color: rgb(251, 150, 244);
/* oklch */ color: oklch(80.8% 0.167 329.5);
Tailwind
colors: {
  custom: {
    50: '#feb7f8',
    500: '#fb96f4',
    950: '#000000',
  },
}
SCSS
$custom: #fb96f4;
$custom-light: #feb7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb96f4",
  "rgb": {
    "r": 251,
    "g": 150,
    "b": 244
  },
  "hsl": {
    "h": 304.158,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80831,
    "c": 0.16705,
    "h": 329.5
  },
  "luminance": 0.48854
}

Semantic roles & 50–950 ramp

primary
#FB96F4
secondary
#D5F6D7
accent
#E61000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB96F4

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

Preview Lab → · Contrast checker → · Palette generator →

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