#FB798F#FB798F

#FB798F is a light, vivid red. Relative luminance 0.362; OKLCH L 73.3% C 0.159 H 11.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#FB798F
RGBrgb(251, 121, 143)
HSLhsl(350, 94%, 73%)
HSVhsv(350, 52%, 98%)
CMYKcmyk(0%, 51.8%, 43%, 1.6%)
CIE-LABlab(66.65, 51.58, 12.01)
CIE-LCHlch(66.65, 52.96, 13.10°)
OKLaboklab(73.25% 0.1563 0.0312)
OKLCHoklch(73.25% 0.159 11.3)
XYZxyz(51.5822, 36.1726, 30.2468)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB798F #79FBE5
analogous
#FB79D0 #FB798F #FBA479
triadic
#FB798F #8FFB79 #798FFB
tetradic
#FB798F #D0FB79 #79FBE5 #A479FB
square
#FB798F #D0FB79 #79FBE5 #A479FB
split-complementary
#FB798F #79FBA4 #79D0FB
monochromatic
#F2072F #F93E5D #FB798F #FDB4C1 #FEE1E6

Accessibility & contrast

On white

2.55
#FB798F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#FB798F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB798F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB798F#FFFFFF#000000##000000
##FB798F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93928F
Deuteranopia (green-blind)
#B4AC8C
Tritanopia (blue-blind)
#FF6A81
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #fb798f;
/* rgb */ color: rgb(251, 121, 143);
/* oklch */ color: oklch(73.3% 0.159 11.3);
Tailwind
colors: {
  custom: {
    50: '#ffa3af',
    500: '#fb798f',
    950: '#000000',
  },
}
SCSS
$custom: #fb798f;
$custom-light: #ffa3af;
$custom-dark: #000000;
JSON
{
  "hex": "#fb798f",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 349.846,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.15939,
    "h": 11.3
  },
  "luminance": 0.36167
}

Semantic roles & 50–950 ramp

primary
#FB798F
secondary
#D5F6F1
accent
#E6BF00
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F10
muted
#877F7F

Preview Lab

Preview with #FB798F

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

Preview Lab → · Contrast checker → · Palette generator →

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