#FB7E97#FB7E97

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

Color values

HEX#FB7E97
RGBrgb(251, 126, 151)
HSLhsl(348, 94%, 74%)
HSVhsv(348, 50%, 98%)
CMYKcmyk(0%, 49.8%, 39.8%, 1.6%)
CIE-LABlab(67.78, 50.00, 9.08)
CIE-LCHlch(67.78, 50.82, 10.29°)
OKLaboklab(74.17% 0.1518 0.0239)
OKLCHoklch(74.17% 0.154 8.9)
XYZxyz(52.8334, 37.6706, 33.7609)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7E97 #7EFBE2
analogous
#FB7ED6 #FB7E97 #FBA47E
triadic
#FB7E97 #97FB7E #7E97FB
tetradic
#FB7E97 #D6FB7E #7EFBE2 #A47EFB
square
#FB7E97 #D6FB7E #7EFBE2 #A47EFB
split-complementary
#FB7E97 #7EFBA4 #7ED6FB
monochromatic
#F70838 #F94367 #FB7E97 #FDB9C7 #FEE1E7

Accessibility & contrast

On white

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

On black

8.53
#FB7E97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7E97
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7E97#FFFFFF#000000##000000
##FB7E971.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb7e97;
/* rgb */ color: rgb(251, 126, 151);
/* oklch */ color: oklch(74.2% 0.154 8.9);
Tailwind
colors: {
  custom: {
    50: '#ffa6b5',
    500: '#fb7e97',
    950: '#000000',
  },
}
SCSS
$custom: #fb7e97;
$custom-light: #ffa6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7e97",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 348,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.15363,
    "h": 8.9
  },
  "luminance": 0.37665
}

Semantic roles & 50–950 ramp

primary
#FB7E97
secondary
#D5F6F0
accent
#E6B800
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181011
muted
#867F80

Preview Lab

Preview with #FB7E97

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

Preview Lab → · Contrast checker → · Palette generator →

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