#FB98DC#FB98DC

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

Color values

HEX#FB98DC
RGBrgb(251, 152, 220)
HSLhsl(319, 93%, 79%)
HSVhsv(319, 39%, 98%)
CMYKcmyk(0%, 39.4%, 12.4%, 1.6%)
CIE-LABlab(74.91, 46.23, -18.80)
CIE-LCHlch(74.91, 49.90, 337.87°)
OKLaboklab(80.21% 0.135 -0.0501)
OKLCHoklch(80.21% 0.144 339.6)
XYZxyz(63.9304, 48.1368, 73.6203)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98DC #98FBB7
analogous
#E998FB #FB98DC #FB98AB
triadic
#FB98DC #DCFB98 #98DCFB
tetradic
#FB98DC #FBE998 #98FBB7 #98ABFB
square
#FB98DC #FBE998 #98FBB7 #98ABFB
split-complementary
#FB98DC #ABFB98 #98FBE9
monochromatic
#F622B4 #F95DC8 #FB98DC #FDD3F0 #FEE2F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB98DC#FFFFFF#000000##000000
##FB98DC1.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)
#9CAFDE
Deuteranopia (green-blind)
#B5BED9
Tritanopia (blue-blind)
#FF9AB1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #fb98dc;
/* rgb */ color: rgb(251, 152, 220);
/* oklch */ color: oklch(80.2% 0.144 339.6);
Tailwind
colors: {
  custom: {
    50: '#feb8e7',
    500: '#fb98dc',
    950: '#000000',
  },
}
SCSS
$custom: #fb98dc;
$custom-light: #feb8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98dc",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 318.788,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.8021,
    "c": 0.14399,
    "h": 339.6
  },
  "luminance": 0.48133
}

Semantic roles & 50–950 ramp

primary
#FB98DC
secondary
#D5F6DF
accent
#E64800
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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