#FB97E3#FB97E3

#FB97E3 is a light, vivid pink. Relative luminance 0.482; OKLCH L 80.3% C 0.151 H 336.4°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#FB97E3
RGBrgb(251, 151, 227)
HSLhsl(314, 93%, 79%)
HSVhsv(314, 40%, 98%)
CMYKcmyk(0%, 39.8%, 9.6%, 1.6%)
CIE-LABlab(74.95, 47.86, -22.57)
CIE-LCHlch(74.95, 52.92, 334.75°)
OKLaboklab(80.32% 0.1384 -0.0606)
OKLCHoklch(80.32% 0.151 336.4)
XYZxyz(64.7153, 48.1921, 78.5515)
Luminance0.4819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97E3 #97FBAF
analogous
#E197FB #FB97E3 #FB97B1
triadic
#FB97E3 #E3FB97 #97E3FB
tetradic
#FB97E3 #FBE197 #97FBAF #97B1FB
square
#FB97E3 #FBE197 #97FBAF #97B1FB
split-complementary
#FB97E3 #B1FB97 #97FBE1
monochromatic
#F621C3 #F95CD3 #FB97E3 #FDD2F3 #FEE2F7

Accessibility & contrast

On white

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

On black

10.64
#FB97E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97E3
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97E3#FFFFFF#000000##000000
##FB97E31.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AFE6
Deuteranopia (green-blind)
#B2BEE0
Tritanopia (blue-blind)
#FF9BB3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #fb97e3;
/* rgb */ color: rgb(251, 151, 227);
/* oklch */ color: oklch(80.3% 0.151 336.4);
Tailwind
colors: {
  custom: {
    50: '#feb7ec',
    500: '#fb97e3',
    950: '#000000',
  },
}
SCSS
$custom: #fb97e3;
$custom-light: #feb7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97e3",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 227
  },
  "hsl": {
    "h": 314.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80315,
    "c": 0.15105,
    "h": 336.4
  },
  "luminance": 0.48188
}

Semantic roles & 50–950 ramp

primary
#FB97E3
secondary
#D5F6DD
accent
#E63700
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB97E3

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

Preview Lab → · Contrast checker → · Palette generator →

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