#FB5798#FB5798

#FB5798 is a light, highly saturated pink. Relative luminance 0.296; OKLCH L 69.3% C 0.206 H 359.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#FB5798
RGBrgb(251, 87, 152)
HSLhsl(336, 95%, 66%)
HSVhsv(336, 65%, 98%)
CMYKcmyk(0%, 65.3%, 39.4%, 1.6%)
CIE-LABlab(61.31, 67.33, -0.84)
CIE-LCHlch(61.31, 67.33, 359.29°)
OKLaboklab(69.33% 0.206 -0.0014)
OKLCHoklch(69.33% 0.206 359.6)
XYZxyz(48.8626, 29.5984, 32.8396)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5798 #57FBBA
analogous
#FB57EA #FB5798 #FB6857
triadic
#FB5798 #98FB57 #5798FB
tetradic
#FB5798 #EAFB57 #57FBBA #6857FB
square
#FB5798 #EAFB57 #57FBBA #6857FB
split-complementary
#FB5798 #57FB68 #57EAFB
monochromatic
#D30556 #FA1B73 #FB5798 #FC93BD #FECFE1

Accessibility & contrast

On white

3.04
#FB5798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#FB5798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB5798
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5798#FFFFFF#000000##000000
##FB57981.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77809A
Deuteranopia (green-blind)
#A3A094
Tritanopia (blue-blind)
#FF4571
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #fb5798;
/* rgb */ color: rgb(251, 87, 152);
/* oklch */ color: oklch(69.3% 0.206 359.6);
Tailwind
colors: {
  custom: {
    50: '#ff90b6',
    500: '#fb5798',
    950: '#000000',
  },
}
SCSS
$custom: #fb5798;
$custom-light: #ff90b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5798",
  "rgb": {
    "r": 251,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 336.22,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69333,
    "c": 0.20604,
    "h": 359.6
  },
  "luminance": 0.29593
}

Semantic roles & 50–950 ramp

primary
#FB5798
secondary
#BCF2DC
accent
#E68B00
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#190D11
muted
#877E80

Preview Lab

Preview with #FB5798

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

Preview Lab → · Contrast checker → · Palette generator →

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