#FB97DC#FB97DC

#FB97DC is a light, vivid pink. Relative luminance 0.478; OKLCH L 80.1% C 0.146 H 339.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#FB97DC
RGBrgb(251, 151, 220)
HSLhsl(319, 93%, 79%)
HSVhsv(319, 40%, 98%)
CMYKcmyk(0%, 39.8%, 12.4%, 1.6%)
CIE-LABlab(74.71, 46.74, -19.11)
CIE-LCHlch(74.71, 50.49, 337.77°)
OKLaboklab(80.06% 0.1365 -0.051)
OKLCHoklch(80.06% 0.146 339.5)
XYZxyz(63.7688, 47.8135, 73.5664)
Luminance0.4781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97DC #97FBB6
analogous
#E897FB #FB97DC #FB97AA
triadic
#FB97DC #DCFB97 #97DCFB
tetradic
#FB97DC #FBE897 #97FBB6 #97AAFB
square
#FB97DC #FBE897 #97FBB6 #97AAFB
split-complementary
#FB97DC #AAFB97 #97FBE8
monochromatic
#F621B4 #F95CC8 #FB97DC #FDD2F0 #FEE2F5

Accessibility & contrast

On white

1.99
#FB97DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#FB97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97DC
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97DC#FFFFFF#000000##000000
##FB97DC1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAEDF
Deuteranopia (green-blind)
#B4BED9
Tritanopia (blue-blind)
#FF99B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #fb97dc;
/* rgb */ color: rgb(251, 151, 220);
/* oklch */ color: oklch(80.1% 0.146 339.5);
Tailwind
colors: {
  custom: {
    50: '#feb7e7',
    500: '#fb97dc',
    950: '#000000',
  },
}
SCSS
$custom: #fb97dc;
$custom-light: #feb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97dc",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 318.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80056,
    "c": 0.14568,
    "h": 339.5
  },
  "luminance": 0.4781
}

Semantic roles & 50–950 ramp

primary
#FB97DC
secondary
#D5F6DF
accent
#E64700
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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