#FB798A#FB798A

#FB798A is a light, vivid red. Relative luminance 0.360; OKLCH L 73.1% C 0.159 H 13.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#FB798A
RGBrgb(251, 121, 138)
HSLhsl(352, 94%, 73%)
HSVhsv(352, 52%, 98%)
CMYKcmyk(0%, 51.8%, 45%, 1.6%)
CIE-LABlab(66.54, 51.09, 14.68)
CIE-LCHlch(66.54, 53.16, 16.03°)
OKLaboklab(73.13% 0.1545 0.0377)
OKLCHoklch(73.13% 0.159 13.7)
XYZxyz(51.2119, 36.0244, 28.2963)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB798A #79FBEA
analogous
#FB79CB #FB798A #FBA979
triadic
#FB798A #8AFB79 #798AFB
tetradic
#FB798A #CBFB79 #79FBEA #A979FB
square
#FB798A #CBFB79 #79FBEA #A979FB
split-complementary
#FB798A #79FBA9 #79CBFB
monochromatic
#F20726 #F93E56 #FB798A #FDB4BE #FEE1E5

Accessibility & contrast

On white

2.56
#FB798A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#FB798A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB798A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB798A#FFFFFF#000000##000000
##FB798A1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94928A
Deuteranopia (green-blind)
#B5AC87
Tritanopia (blue-blind)
#FF697F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #fb798a;
/* rgb */ color: rgb(251, 121, 138);
/* oklch */ color: oklch(73.1% 0.159 13.7);
Tailwind
colors: {
  custom: {
    50: '#ffa3ac',
    500: '#fb798a',
    950: '#000000',
  },
}
SCSS
$custom: #fb798a;
$custom-light: #ffa3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fb798a",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 352.154,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73132,
    "c": 0.15898,
    "h": 13.7
  },
  "luminance": 0.36019
}

Semantic roles & 50–950 ramp

primary
#FB798A
secondary
#D5F6F2
accent
#E6C700
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F10
muted
#877F7F

Preview Lab

Preview with #FB798A

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

Preview Lab → · Contrast checker → · Palette generator →

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