#FB797D#FB797D

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

Color values

HEX#FB797D
RGBrgb(251, 121, 125)
HSLhsl(358, 94%, 73%)
HSVhsv(358, 52%, 98%)
CMYKcmyk(0%, 51.8%, 50.2%, 1.6%)
CIE-LABlab(66.27, 49.90, 21.65)
CIE-LCHlch(66.27, 54.40, 23.45°)
OKLaboklab(72.84% 0.1495 0.0543)
OKLCHoklch(72.84% 0.159 19.9)
XYZxyz(50.3264, 35.6702, 23.6328)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB797D #79FBF7
analogous
#FB79BE #FB797D #FBB679
triadic
#FB797D #7DFB79 #797DFB
tetradic
#FB797D #BEFB79 #79FBF7 #B679FB
square
#FB797D #BEFB79 #79FBF7 #B679FB
split-complementary
#FB797D #79FBB6 #79BEFB
monochromatic
#F2070E #F93E43 #FB797D #FDB4B7 #FEE1E2

Accessibility & contrast

On white

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

On black

8.13
#FB797D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB797D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB797D#FFFFFF#000000##000000
##FB797D1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96917C
Deuteranopia (green-blind)
#B7AB7A
Tritanopia (blue-blind)
#FF667B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #fb797d;
/* rgb */ color: rgb(251, 121, 125);
/* oklch */ color: oklch(72.8% 0.159 19.9);
Tailwind
colors: {
  custom: {
    50: '#ffa3a2',
    500: '#fb797d',
    950: '#000000',
  },
}
SCSS
$custom: #fb797d;
$custom-light: #ffa3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb797d",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 358.154,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72838,
    "c": 0.15908,
    "h": 19.9
  },
  "luminance": 0.35665
}

Semantic roles & 50–950 ramp

primary
#FB797D
secondary
#D5F6F5
accent
#E6DE00
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#190F0F
muted
#877F7E

Preview Lab

Preview with #FB797D

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

Preview Lab → · Contrast checker → · Palette generator →

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