#FB97DF#FB97DF

#FB97DF is a light, vivid pink. Relative luminance 0.480; OKLCH L 80.2% C 0.148 H 338.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#FB97DF
RGBrgb(251, 151, 223)
HSLhsl(317, 93%, 79%)
HSVhsv(317, 40%, 98%)
CMYKcmyk(0%, 39.8%, 11.2%, 1.6%)
CIE-LABlab(74.81, 47.22, -20.59)
CIE-LCHlch(74.81, 51.51, 336.44°)
OKLaboklab(80.17% 0.1373 -0.0551)
OKLCHoklch(80.17% 0.148 338.1)
XYZxyz(64.1696, 47.9739, 75.6777)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97DF #97FBB3
analogous
#E597FB #FB97DF #FB97AD
triadic
#FB97DF #DFFB97 #97DFFB
tetradic
#FB97DF #FBE597 #97FBB3 #97ADFB
square
#FB97DF #FBE597 #97FBB3 #97ADFB
split-complementary
#FB97DF #ADFB97 #97FBE5
monochromatic
#F621BB #F95CCD #FB97DF #FDD2F1 #FEE2F6

Accessibility & contrast

On white

1.98
#FB97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#FB97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97DF
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97DF#FFFFFF#000000##000000
##FB97DF1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAFE2
Deuteranopia (green-blind)
#B3BEDC
Tritanopia (blue-blind)
#FF9AB2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #fb97df;
/* rgb */ color: rgb(251, 151, 223);
/* oklch */ color: oklch(80.2% 0.148 338.1);
Tailwind
colors: {
  custom: {
    50: '#feb7e9',
    500: '#fb97df',
    950: '#000000',
  },
}
SCSS
$custom: #fb97df;
$custom-light: #feb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97df",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 316.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80166,
    "c": 0.14793,
    "h": 338.1
  },
  "luminance": 0.4797
}

Semantic roles & 50–950 ramp

primary
#FB97DF
secondary
#D5F6DE
accent
#E64000
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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