#FB97D2#FB97D2

#FB97D2 is a light, vivid pink. Relative luminance 0.473; OKLCH L 79.7% C 0.139 H 344.4°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#FB97D2
RGBrgb(251, 151, 210)
HSLhsl(325, 93%, 79%)
HSVhsv(325, 40%, 98%)
CMYKcmyk(0%, 39.8%, 16.3%, 1.6%)
CIE-LABlab(74.38, 45.18, -14.11)
CIE-LCHlch(74.38, 47.34, 342.65°)
OKLaboklab(79.7% 0.1336 -0.0372)
OKLCHoklch(79.7% 0.139 344.4)
XYZxyz(62.4838, 47.2995, 66.7989)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97D2 #97FBC0
analogous
#F297FB #FB97D2 #FB97A0
triadic
#FB97D2 #D2FB97 #97D2FB
tetradic
#FB97D2 #FBF297 #97FBC0 #97A0FB
square
#FB97D2 #FBF297 #97FBC0 #97A0FB
split-complementary
#FB97D2 #A0FB97 #97FBF2
monochromatic
#F6219F #F95CB9 #FB97D2 #FDD2EC #FEE2F2

Accessibility & contrast

On white

2.01
#FB97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#FB97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97D2
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97D2#FFFFFF#000000##000000
##FB97D21.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EADD4
Deuteranopia (green-blind)
#B7BDCF
Tritanopia (blue-blind)
#FF97AC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #fb97d2;
/* rgb */ color: rgb(251, 151, 210);
/* oklch */ color: oklch(79.7% 0.139 344.4);
Tailwind
colors: {
  custom: {
    50: '#feb7df',
    500: '#fb97d2',
    950: '#000000',
  },
}
SCSS
$custom: #fb97d2;
$custom-light: #feb7df;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97d2",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 324.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79702,
    "c": 0.13869,
    "h": 344.4
  },
  "luminance": 0.47296
}

Semantic roles & 50–950 ramp

primary
#FB97D2
secondary
#D5F6E3
accent
#E65E00
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #FB97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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