#FB97E7#FB97E7

#FB97E7 is a light, vivid pink. Relative luminance 0.484; OKLCH L 80.5% C 0.154 H 334.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#FB97E7
RGBrgb(251, 151, 231)
HSLhsl(312, 93%, 79%)
HSVhsv(312, 40%, 98%)
CMYKcmyk(0%, 39.8%, 8%, 1.6%)
CIE-LABlab(75.09, 48.52, -24.54)
CIE-LCHlch(75.09, 54.37, 333.17°)
OKLaboklab(80.47% 0.1394 -0.0661)
OKLCHoklch(80.47% 0.154 334.6)
XYZxyz(65.2738, 48.4155, 81.4928)
Luminance0.4841 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97E7 #97FBAB
analogous
#DD97FB #FB97E7 #FB97B5
triadic
#FB97E7 #E7FB97 #97E7FB
tetradic
#FB97E7 #FBDD97 #97FBAB #97B5FB
square
#FB97E7 #FBDD97 #97FBAB #97B5FB
split-complementary
#FB97E7 #B5FB97 #97FBDD
monochromatic
#F621CC #F95CD9 #FB97E7 #FDD2F5 #FEE2F8

Accessibility & contrast

On white

1.97
#FB97E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#FB97E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97E7
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97E7#FFFFFF#000000##000000
##FB97E71.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B0EA
Deuteranopia (green-blind)
#B1BEE4
Tritanopia (blue-blind)
#FF9CB5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb97e7;
/* rgb */ color: rgb(251, 151, 231);
/* oklch */ color: oklch(80.5% 0.154 334.6);
Tailwind
colors: {
  custom: {
    50: '#feb7ee',
    500: '#fb97e7',
    950: '#000000',
  },
}
SCSS
$custom: #fb97e7;
$custom-light: #feb7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97e7",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 312,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80467,
    "c": 0.15426,
    "h": 334.6
  },
  "luminance": 0.48412
}

Semantic roles & 50–950 ramp

primary
#FB97E7
secondary
#D5F6DC
accent
#E62E00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB97E7

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

Preview Lab → · Contrast checker → · Palette generator →

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