#FB797F#FB797F

#FB797F is a light, vivid red. Relative luminance 0.357; OKLCH L 72.9% C 0.159 H 19.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#FB797F
RGBrgb(251, 121, 127)
HSLhsl(357, 94%, 73%)
HSVhsv(357, 52%, 98%)
CMYKcmyk(0%, 51.8%, 49.4%, 1.6%)
CIE-LABlab(66.31, 50.08, 20.57)
CIE-LCHlch(66.31, 54.14, 22.33°)
OKLaboklab(72.88% 0.1503 0.0518)
OKLCHoklch(72.88% 0.159 19)
XYZxyz(50.4555, 35.7219, 24.3125)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB797F #79FBF5
analogous
#FB79C0 #FB797F #FBB479
triadic
#FB797F #7FFB79 #797FFB
tetradic
#FB797F #C0FB79 #79FBF5 #B479FB
square
#FB797F #C0FB79 #79FBF5 #B479FB
split-complementary
#FB797F #79FBB4 #79C0FB
monochromatic
#F20712 #F93E46 #FB797F #FDB4B8 #FEE1E3

Accessibility & contrast

On white

2.58
#FB797F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#FB797F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB797F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB797F#FFFFFF#000000##000000
##FB797F1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96917E
Deuteranopia (green-blind)
#B6AB7C
Tritanopia (blue-blind)
#FF667C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #fb797f;
/* rgb */ color: rgb(251, 121, 127);
/* oklch */ color: oklch(72.9% 0.159 19.0);
Tailwind
colors: {
  custom: {
    50: '#ffa3a4',
    500: '#fb797f',
    950: '#000000',
  },
}
SCSS
$custom: #fb797f;
$custom-light: #ffa3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb797f",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 357.231,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.15896,
    "h": 19
  },
  "luminance": 0.35716
}

Semantic roles & 50–950 ramp

primary
#FB797F
secondary
#D5F6F5
accent
#E6DB00
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F0F
muted
#877F7F

Preview Lab

Preview with #FB797F

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

Preview Lab → · Contrast checker → · Palette generator →

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