#FB98D2#FB98D2

#FB98D2 is a light, vivid pink. Relative luminance 0.476; OKLCH L 79.9% C 0.137 H 344.6°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#FB98D2
RGBrgb(251, 152, 210)
HSLhsl(325, 93%, 79%)
HSVhsv(325, 39%, 98%)
CMYKcmyk(0%, 39.4%, 16.3%, 1.6%)
CIE-LABlab(74.59, 44.67, -13.80)
CIE-LCHlch(74.59, 46.76, 342.83°)
OKLaboklab(79.86% 0.1321 -0.0364)
OKLCHoklch(79.86% 0.137 344.6)
XYZxyz(62.6454, 47.6228, 66.8528)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98D2 #98FBC1
analogous
#F298FB #FB98D2 #FB98A1
triadic
#FB98D2 #D2FB98 #98D2FB
tetradic
#FB98D2 #FBF298 #98FBC1 #98A1FB
square
#FB98D2 #FBF298 #98FBC1 #98A1FB
split-complementary
#FB98D2 #A1FB98 #98FBF2
monochromatic
#F6229F #F95DB8 #FB98D2 #FDD3EC #FEE2F2

Accessibility & contrast

On white

2.00
#FB98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#FB98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98D2
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98D2#FFFFFF#000000##000000
##FB98D21.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FAED4
Deuteranopia (green-blind)
#B8BECF
Tritanopia (blue-blind)
#FF98AD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #fb98d2;
/* rgb */ color: rgb(251, 152, 210);
/* oklch */ color: oklch(79.9% 0.137 344.6);
Tailwind
colors: {
  custom: {
    50: '#feb8df',
    500: '#fb98d2',
    950: '#000000',
  },
}
SCSS
$custom: #fb98d2;
$custom-light: #feb8df;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98d2",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 324.848,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79858,
    "c": 0.13701,
    "h": 344.6
  },
  "luminance": 0.47619
}

Semantic roles & 50–950 ramp

primary
#FB98D2
secondary
#D5F6E3
accent
#E65F00
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #FB98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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