#FB98DF#FB98DF

#FB98DF is a light, vivid pink. Relative luminance 0.483; OKLCH L 80.3% C 0.146 H 338.2°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#FB98DF
RGBrgb(251, 152, 223)
HSLhsl(317, 93%, 79%)
HSVhsv(317, 39%, 98%)
CMYKcmyk(0%, 39.4%, 11.2%, 1.6%)
CIE-LABlab(75.01, 46.71, -20.29)
CIE-LCHlch(75.01, 50.92, 336.52°)
OKLaboklab(80.32% 0.1358 -0.0542)
OKLCHoklch(80.32% 0.146 338.2)
XYZxyz(64.3313, 48.2971, 75.7315)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98DF #98FBB4
analogous
#E698FB #FB98DF #FB98AE
triadic
#FB98DF #DFFB98 #98DFFB
tetradic
#FB98DF #FBE698 #98FBB4 #98AEFB
square
#FB98DF #FBE698 #98FBB4 #98AEFB
split-complementary
#FB98DF #AEFB98 #98FBE6
monochromatic
#F622BA #F95DCD #FB98DF #FDD3F1 #FEE2F6

Accessibility & contrast

On white

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

On black

10.66
#FB98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98DF
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98DF#FFFFFF#000000##000000
##FB98DF1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAFE2
Deuteranopia (green-blind)
#B4BEDC
Tritanopia (blue-blind)
#FF9BB2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb98df;
/* rgb */ color: rgb(251, 152, 223);
/* oklch */ color: oklch(80.3% 0.146 338.2);
Tailwind
colors: {
  custom: {
    50: '#feb8e9',
    500: '#fb98df',
    950: '#000000',
  },
}
SCSS
$custom: #fb98df;
$custom-light: #feb8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98df",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 316.97,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.8032,
    "c": 0.14624,
    "h": 338.2
  },
  "luminance": 0.48293
}

Semantic roles & 50–950 ramp

primary
#FB98DF
secondary
#D5F6DE
accent
#E64100
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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