#FB796C#FB796C

#FB796C is a light, vivid red. Relative luminance 0.353; OKLCH L 72.5% C 0.161 H 27.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#FB796C
RGBrgb(251, 121, 108)
HSLhsl(5, 95%, 70%)
HSVhsv(5, 57%, 98%)
CMYKcmyk(0%, 51.8%, 57%, 1.6%)
CIE-LABlab(65.96, 48.54, 30.75)
CIE-LCHlch(65.96, 57.46, 32.35°)
OKLaboklab(72.51% 0.1431 0.0747)
OKLCHoklch(72.51% 0.161 27.6)
XYZxyz(49.3319, 35.2724, 18.3948)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB796C #6CEEFB
analogous
#FB6CA6 #FB796C #FBC16C
triadic
#FB796C #6CFB79 #796CFB
tetradic
#FB796C #A6FB6C #6CEEFB #C16CFB
square
#FB796C #A6FB6C #6CEEFB #C16CFB
split-complementary
#FB796C #6CFBC1 #6CA6FB
monochromatic
#E61B06 #F94330 #FB796C #FDAFA8 #FEE4E1

Accessibility & contrast

On white

2.61
#FB796C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#FB796C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB796C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB796C#FFFFFF#000000##000000
##FB796C1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998F6A
Deuteranopia (green-blind)
#B9AB69
Tritanopia (blue-blind)
#FF6376
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb796c;
/* rgb */ color: rgb(251, 121, 108);
/* oklch */ color: oklch(72.5% 0.161 27.6);
Tailwind
colors: {
  custom: {
    50: '#ffa396',
    500: '#fb796c',
    950: '#000000',
  },
}
SCSS
$custom: #fb796c;
$custom-light: #ffa396;
$custom-dark: #000000;
JSON
{
  "hex": "#fb796c",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 5.455,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72505,
    "c": 0.16138,
    "h": 27.6
  },
  "luminance": 0.35267
}

Semantic roles & 50–950 ramp

primary
#FB796C
secondary
#CEF1F5
accent
#D1E600
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#190F0D
muted
#877F7E

Preview Lab

Preview with #FB796C

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

Preview Lab → · Contrast checker → · Palette generator →

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