#FB7998#FB7998

#FB7998 is a light, vivid red. Relative luminance 0.365; OKLCH L 73.5% C 0.161 H 6.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#FB7998
RGBrgb(251, 121, 152)
HSLhsl(346, 94%, 73%)
HSVhsv(346, 52%, 98%)
CMYKcmyk(0%, 51.8%, 39.4%, 1.6%)
CIE-LABlab(66.87, 52.52, 7.21)
CIE-LCHlch(66.87, 53.01, 7.82°)
OKLaboklab(73.49% 0.1596 0.0192)
OKLCHoklch(73.49% 0.161 6.9)
XYZxyz(52.2916, 36.4563, 33.9826)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7998 #79FBDC
analogous
#FB79D9 #FB7998 #FB9B79
triadic
#FB7998 #98FB79 #7998FB
tetradic
#FB7998 #D9FB79 #79FBDC #9B79FB
square
#FB7998 #D9FB79 #79FBDC #9B79FB
split-complementary
#FB7998 #79FB9B #79D9FB
monochromatic
#F2073F #F93E6A #FB7998 #FDB4C6 #FEE1E8

Accessibility & contrast

On white

2.53
#FB7998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#FB7998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7998
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7998#FFFFFF#000000##000000
##FB79981.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#919399
Deuteranopia (green-blind)
#B2AC95
Tritanopia (blue-blind)
#FF6C84
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #fb7998;
/* rgb */ color: rgb(251, 121, 152);
/* oklch */ color: oklch(73.5% 0.161 6.9);
Tailwind
colors: {
  custom: {
    50: '#ffa3b6',
    500: '#fb7998',
    950: '#000000',
  },
}
SCSS
$custom: #fb7998;
$custom-light: #ffa3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7998",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 345.692,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73487,
    "c": 0.16074,
    "h": 6.9
  },
  "luminance": 0.36451
}

Semantic roles & 50–950 ramp

primary
#FB7998
secondary
#D5F6EE
accent
#E6AF00
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#190F11
muted
#877F80

Preview Lab

Preview with #FB7998

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

Preview Lab → · Contrast checker → · Palette generator →

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