#FB7E98#FB7E98

#FB7E98 is a light, vivid red. Relative luminance 0.377; OKLCH L 74.2% C 0.154 H 8.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#FB7E98
RGBrgb(251, 126, 152)
HSLhsl(348, 94%, 74%)
HSVhsv(348, 50%, 98%)
CMYKcmyk(0%, 49.8%, 39.4%, 1.6%)
CIE-LABlab(67.80, 50.11, 8.55)
CIE-LCHlch(67.80, 50.83, 9.68°)
OKLaboklab(74.19% 0.1521 0.0226)
OKLCHoklch(74.19% 0.154 8.4)
XYZxyz(52.9150, 37.7032, 34.1904)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7E98 #7EFBE1
analogous
#FB7ED7 #FB7E98 #FBA37E
triadic
#FB7E98 #98FB7E #7E98FB
tetradic
#FB7E98 #D7FB7E #7EFBE1 #A37EFB
square
#FB7E98 #D7FB7E #7EFBE1 #A37EFB
split-complementary
#FB7E98 #7EFBA3 #7ED7FB
monochromatic
#F70839 #F94369 #FB7E98 #FDB9C7 #FEE1E7

Accessibility & contrast

On white

2.46
#FB7E98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#FB7E98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7E98
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7E98#FFFFFF#000000##000000
##FB7E981.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb7e98;
/* rgb */ color: rgb(251, 126, 152);
/* oklch */ color: oklch(74.2% 0.154 8.4);
Tailwind
colors: {
  custom: {
    50: '#ffa6b6',
    500: '#fb7e98',
    950: '#000000',
  },
}
SCSS
$custom: #fb7e98;
$custom-light: #ffa6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7e98",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 347.52,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.1538,
    "h": 8.4
  },
  "luminance": 0.37698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7E98

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

Preview Lab → · Contrast checker → · Palette generator →

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