#FB5398#FB5398

#FB5398 is a light, highly saturated pink. Relative luminance 0.290; OKLCH L 68.9% C 0.211 H 359.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#FB5398
RGBrgb(251, 83, 152)
HSLhsl(335, 95%, 65%)
HSVhsv(335, 67%, 98%)
CMYKcmyk(0%, 66.9%, 39.4%, 1.6%)
CIE-LABlab(60.75, 68.85, -1.65)
CIE-LCHlch(60.75, 68.86, 358.63°)
OKLaboklab(68.93% 0.2108 -0.0035)
OKLCHoklch(68.93% 0.211 359.1)
XYZxyz(48.5477, 28.9686, 32.7346)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5398 #53FBB6
analogous
#FB53EC #FB5398 #FB6253
triadic
#FB5398 #98FB53 #5398FB
tetradic
#FB5398 #ECFB53 #53FBB6 #6253FB
square
#FB5398 #ECFB53 #53FBB6 #6253FB
split-complementary
#FB5398 #53FB62 #53ECFB
monochromatic
#CF0558 #FA1774 #FB5398 #FC8FBC #FECBE0

Accessibility & contrast

On white

3.09
#FB5398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#FB5398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB5398
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5398#FFFFFF#000000##000000
##FB53981.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#747E9A
Deuteranopia (green-blind)
#A19E94
Tritanopia (blue-blind)
#FF406F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #fb5398;
/* rgb */ color: rgb(251, 83, 152);
/* oklch */ color: oklch(68.9% 0.211 359.1);
Tailwind
colors: {
  custom: {
    50: '#ff8eb6',
    500: '#fb5398',
    950: '#000000',
  },
}
SCSS
$custom: #fb5398;
$custom-light: #ff8eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5398",
  "rgb": {
    "r": 251,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 335.357,
    "s": 95.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68925,
    "c": 0.21087,
    "h": 359.1
  },
  "luminance": 0.28963
}

Semantic roles & 50–950 ramp

primary
#FB5398
secondary
#B9F1DA
accent
#E68700
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#190D11
muted
#877E80

Preview Lab

Preview with #FB5398

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

Preview Lab → · Contrast checker → · Palette generator →

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