#FB96F2#FB96F2

#FB96F2 is a light, vivid purple. Relative luminance 0.487; OKLCH L 80.8% C 0.165 H 330.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#FB96F2
RGBrgb(251, 150, 242)
HSLhsl(305, 93%, 79%)
HSVhsv(305, 40%, 98%)
CMYKcmyk(0%, 40.2%, 3.6%, 1.6%)
CIE-LABlab(75.29, 50.88, -30.22)
CIE-LCHlch(75.29, 59.18, 329.29°)
OKLaboklab(80.75% 0.1435 -0.082)
OKLCHoklch(80.75% 0.165 330.2)
XYZxyz(66.7162, 48.7361, 89.8800)
Luminance0.4873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB96F2 #96FB9F
analogous
#D196FB #FB96F2 #FB96BF
triadic
#FB96F2 #F2FB96 #96F2FB
tetradic
#FB96F2 #FBD196 #96FB9F #96BFFB
square
#FB96F2 #FBD196 #96FB9F #96BFFB
split-complementary
#FB96F2 #BFFB96 #96FBD1
monochromatic
#F720E3 #F95BEB #FB96F2 #FDD1F9 #FEE2FB

Accessibility & contrast

On white

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

On black

10.75
#FB96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB96F2
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB96F2#FFFFFF#000000##000000
##FB96F21.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#ACBEEF
Tritanopia (blue-blind)
#FF9DB9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb96f2;
/* rgb */ color: rgb(251, 150, 242);
/* oklch */ color: oklch(80.8% 0.165 330.2);
Tailwind
colors: {
  custom: {
    50: '#feb7f6',
    500: '#fb96f2',
    950: '#000000',
  },
}
SCSS
$custom: #fb96f2;
$custom-light: #feb7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb96f2",
  "rgb": {
    "r": 251,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 305.347,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.8075,
    "c": 0.16529,
    "h": 330.2
  },
  "luminance": 0.48733
}

Semantic roles & 50–950 ramp

primary
#FB96F2
secondary
#D5F6D8
accent
#E61400
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FB96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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