#FB97E4#FB97E4

#FB97E4 is a light, vivid pink. Relative luminance 0.482; OKLCH L 80.4% C 0.152 H 335.9°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#FB97E4
RGBrgb(251, 151, 228)
HSLhsl(314, 93%, 79%)
HSVhsv(314, 40%, 98%)
CMYKcmyk(0%, 39.8%, 9.2%, 1.6%)
CIE-LABlab(74.98, 48.03, -23.06)
CIE-LCHlch(74.98, 53.28, 334.35°)
OKLaboklab(80.35% 0.1386 -0.062)
OKLCHoklch(80.35% 0.152 335.9)
XYZxyz(64.8537, 48.2475, 79.2804)
Luminance0.4824 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97E4 #97FBAE
analogous
#E097FB #FB97E4 #FB97B2
triadic
#FB97E4 #E4FB97 #97E4FB
tetradic
#FB97E4 #FBE097 #97FBAE #97B2FB
square
#FB97E4 #FBE097 #97FBAE #97B2FB
split-complementary
#FB97E4 #B2FB97 #97FBE0
monochromatic
#F621C5 #F95CD5 #FB97E4 #FDD2F3 #FEE2F7

Accessibility & contrast

On white

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

On black

10.65
#FB97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97E4
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97E4#FFFFFF#000000##000000
##FB97E41.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AFE7
Deuteranopia (green-blind)
#B2BEE1
Tritanopia (blue-blind)
#FF9BB4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb97e4;
/* rgb */ color: rgb(251, 151, 228);
/* oklch */ color: oklch(80.4% 0.152 335.9);
Tailwind
colors: {
  custom: {
    50: '#feb7ec',
    500: '#fb97e4',
    950: '#000000',
  },
}
SCSS
$custom: #fb97e4;
$custom-light: #feb7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97e4",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 313.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80353,
    "c": 0.15184,
    "h": 335.9
  },
  "luminance": 0.48244
}

Semantic roles & 50–950 ramp

primary
#FB97E4
secondary
#D5F6DD
accent
#E63500
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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