#FB7D98#FB7D98

#FB7D98 is a light, vivid red. Relative luminance 0.374; OKLCH L 74.0% C 0.155 H 8.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#FB7D98
RGBrgb(251, 125, 152)
HSLhsl(347, 94%, 74%)
HSVhsv(347, 50%, 98%)
CMYKcmyk(0%, 50.2%, 39.4%, 1.6%)
CIE-LABlab(67.61, 50.60, 8.28)
CIE-LCHlch(67.61, 51.27, 9.29°)
OKLaboklab(74.05% 0.1536 0.0219)
OKLCHoklch(74.05% 0.155 8.1)
XYZxyz(52.7878, 37.4487, 34.1480)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7D98 #7DFBE0
analogous
#FB7DD7 #FB7D98 #FBA17D
triadic
#FB7D98 #98FB7D #7D98FB
tetradic
#FB7D98 #D7FB7D #7DFBE0 #A17DFB
square
#FB7D98 #D7FB7D #7DFBE0 #A17DFB
split-complementary
#FB7D98 #7DFBA1 #7DD7FB
monochromatic
#F6083B #F94269 #FB7D98 #FDB8C7 #FEE1E7

Accessibility & contrast

On white

2.47
#FB7D98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#FB7D98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7D98
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7D98#FFFFFF#000000##000000
##FB7D981.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#959699
Deuteranopia (green-blind)
#B5AE95
Tritanopia (blue-blind)
#FF7087
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb7d98;
/* rgb */ color: rgb(251, 125, 152);
/* oklch */ color: oklch(74.0% 0.155 8.1);
Tailwind
colors: {
  custom: {
    50: '#ffa6b6',
    500: '#fb7d98',
    950: '#000000',
  },
}
SCSS
$custom: #fb7d98;
$custom-light: #ffa6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7d98",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 152
  },
  "hsl": {
    "h": 347.143,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74049,
    "c": 0.15518,
    "h": 8.1
  },
  "luminance": 0.37443
}

Semantic roles & 50–950 ramp

primary
#FB7D98
secondary
#D5F6EF
accent
#E6B400
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181011
muted
#867F80

Preview Lab

Preview with #FB7D98

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

Preview Lab → · Contrast checker → · Palette generator →

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