#FB98DE#FB98DE

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

Color values

HEX#FB98DE
RGBrgb(251, 152, 222)
HSLhsl(318, 93%, 79%)
HSVhsv(318, 39%, 98%)
CMYKcmyk(0%, 39.4%, 11.6%, 1.6%)
CIE-LABlab(74.98, 46.55, -19.79)
CIE-LCHlch(74.98, 50.58, 336.97°)
OKLaboklab(80.28% 0.1355 -0.0529)
OKLCHoklch(80.28% 0.145 338.7)
XYZxyz(64.1968, 48.2433, 75.0236)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98DE #98FBB5
analogous
#E798FB #FB98DE #FB98AD
triadic
#FB98DE #DEFB98 #98DEFB
tetradic
#FB98DE #FBE798 #98FBB5 #98ADFB
square
#FB98DE #FBE798 #98FBB5 #98ADFB
split-complementary
#FB98DE #ADFB98 #98FBE7
monochromatic
#F622B8 #F95DCB #FB98DE #FDD3F1 #FEE2F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB98DE#FFFFFF#000000##000000
##FB98DE1.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)
#9BAFE1
Deuteranopia (green-blind)
#B4BEDB
Tritanopia (blue-blind)
#FF9AB2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb98de;
/* rgb */ color: rgb(251, 152, 222);
/* oklch */ color: oklch(80.3% 0.145 338.7);
Tailwind
colors: {
  custom: {
    50: '#feb8e8',
    500: '#fb98de',
    950: '#000000',
  },
}
SCSS
$custom: #fb98de;
$custom-light: #feb8e8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98de",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 317.576,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80283,
    "c": 0.14549,
    "h": 338.7
  },
  "luminance": 0.4824
}

Semantic roles & 50–950 ramp

primary
#FB98DE
secondary
#D5F6DF
accent
#E64300
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB98DE

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

Preview Lab → · Contrast checker → · Palette generator →

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