#FB797C#FB797C

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

Color values

HEX#FB797C
RGBrgb(251, 121, 124)
HSLhsl(359, 94%, 73%)
HSVhsv(359, 52%, 98%)
CMYKcmyk(0%, 51.8%, 50.6%, 1.6%)
CIE-LABlab(66.25, 49.82, 22.18)
CIE-LCHlch(66.25, 54.53, 24.00°)
OKLaboklab(72.82% 0.1492 0.0555)
OKLCHoklch(72.82% 0.159 20.4)
XYZxyz(50.2628, 35.6448, 23.2981)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB797C #79FBF8
analogous
#FB79BD #FB797C #FBB779
triadic
#FB797C #7CFB79 #797CFB
tetradic
#FB797C #BDFB79 #79FBF8 #B779FB
square
#FB797C #BDFB79 #79FBF8 #B779FB
split-complementary
#FB797C #79FBB7 #79BDFB
monochromatic
#F2070D #F93E42 #FB797C #FDB4B6 #FEE1E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB797C#FFFFFF#000000##000000
##FB797C1.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)
#96907B
Deuteranopia (green-blind)
#B7AB79
Tritanopia (blue-blind)
#FF667B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #fb797c;
/* rgb */ color: rgb(251, 121, 124);
/* oklch */ color: oklch(72.8% 0.159 20.4);
Tailwind
colors: {
  custom: {
    50: '#ffa3a1',
    500: '#fb797c',
    950: '#000000',
  },
}
SCSS
$custom: #fb797c;
$custom-light: #ffa3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb797c",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 358.615,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72817,
    "c": 0.15915,
    "h": 20.4
  },
  "luminance": 0.35639
}

Semantic roles & 50–950 ramp

primary
#FB797C
secondary
#D5F6F6
accent
#E6E000
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#190F0F
muted
#877F7E

Preview Lab

Preview with #FB797C

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

Preview Lab → · Contrast checker → · Palette generator →

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