#FB97EA#FB97EA

#FB97EA is a light, vivid pink. Relative luminance 0.486; OKLCH L 80.6% C 0.157 H 333.4°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#FB97EA
RGBrgb(251, 151, 234)
HSLhsl(310, 93%, 79%)
HSVhsv(310, 40%, 98%)
CMYKcmyk(0%, 39.8%, 6.8%, 1.6%)
CIE-LABlab(75.19, 49.02, -26.01)
CIE-LCHlch(75.19, 55.49, 332.05°)
OKLaboklab(80.58% 0.1401 -0.0702)
OKLCHoklch(80.58% 0.157 333.4)
XYZxyz(65.7011, 48.5865, 83.7434)
Luminance0.4858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97EA #97FBA8
analogous
#DA97FB #FB97EA #FB97B8
triadic
#FB97EA #EAFB97 #97EAFB
tetradic
#FB97EA #FBDA97 #97FBA8 #97B8FB
square
#FB97EA #FBDA97 #97FBA8 #97B8FB
split-complementary
#FB97EA #B8FB97 #97FBDA
monochromatic
#F621D2 #F95CDE #FB97EA #FDD2F6 #FEE2F9

Accessibility & contrast

On white

1.96
#FB97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#FB97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97EA
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97EA#FFFFFF#000000##000000
##FB97EA1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#B0BEE7
Tritanopia (blue-blind)
#FF9CB6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb97ea;
/* rgb */ color: rgb(251, 151, 234);
/* oklch */ color: oklch(80.6% 0.157 333.4);
Tailwind
colors: {
  custom: {
    50: '#feb7f1',
    500: '#fb97ea',
    950: '#000000',
  },
}
SCSS
$custom: #fb97ea;
$custom-light: #feb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97ea",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 310.2,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80583,
    "c": 0.15674,
    "h": 333.4
  },
  "luminance": 0.48583
}

Semantic roles & 50–950 ramp

primary
#FB97EA
secondary
#D5F6DB
accent
#E62700
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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