#FB97E2#FB97E2

#FB97E2 is a light, vivid pink. Relative luminance 0.481; OKLCH L 80.3% C 0.150 H 336.8°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#FB97E2
RGBrgb(251, 151, 226)
HSLhsl(315, 93%, 79%)
HSVhsv(315, 40%, 98%)
CMYKcmyk(0%, 39.8%, 10%, 1.6%)
CIE-LABlab(74.91, 47.70, -22.08)
CIE-LCHlch(74.91, 52.56, 335.16°)
OKLaboklab(80.28% 0.1381 -0.0592)
OKLCHoklch(80.28% 0.15 336.8)
XYZxyz(64.5777, 48.1371, 77.8267)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97E2 #97FBB0
analogous
#E297FB #FB97E2 #FB97B0
triadic
#FB97E2 #E2FB97 #97E2FB
tetradic
#FB97E2 #FBE297 #97FBB0 #97B0FB
square
#FB97E2 #FBE297 #97FBB0 #97B0FB
split-complementary
#FB97E2 #B0FB97 #97FBE2
monochromatic
#F621C1 #F95CD2 #FB97E2 #FDD2F2 #FEE2F7

Accessibility & contrast

On white

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

On black

10.63
#FB97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97E2
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97E2#FFFFFF#000000##000000
##FB97E21.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AFE5
Deuteranopia (green-blind)
#B2BEDF
Tritanopia (blue-blind)
#FF9AB3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #fb97e2;
/* rgb */ color: rgb(251, 151, 226);
/* oklch */ color: oklch(80.3% 0.150 336.8);
Tailwind
colors: {
  custom: {
    50: '#feb7eb',
    500: '#fb97e2',
    950: '#000000',
  },
}
SCSS
$custom: #fb97e2;
$custom-light: #feb7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97e2",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 315,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80278,
    "c": 0.15025,
    "h": 336.8
  },
  "luminance": 0.48133
}

Semantic roles & 50–950 ramp

primary
#FB97E2
secondary
#D5F6DD
accent
#E63900
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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