#FB798E#FB798E

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

Color values

HEX#FB798E
RGBrgb(251, 121, 142)
HSLhsl(350, 94%, 73%)
HSVhsv(350, 52%, 98%)
CMYKcmyk(0%, 51.8%, 43.4%, 1.6%)
CIE-LABlab(66.63, 51.48, 12.54)
CIE-LCHlch(66.63, 52.99, 13.69°)
OKLaboklab(73.23% 0.1559 0.0325)
OKLCHoklch(73.23% 0.159 11.8)
XYZxyz(51.5068, 36.1424, 29.8496)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB798E #79FBE6
analogous
#FB79CF #FB798E #FBA579
triadic
#FB798E #8EFB79 #798EFB
tetradic
#FB798E #CFFB79 #79FBE6 #A579FB
square
#FB798E #CFFB79 #79FBE6 #A579FB
split-complementary
#FB798E #79FBA5 #79CFFB
monochromatic
#F2072D #F93E5C #FB798E #FDB4C0 #FEE1E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB798E#FFFFFF#000000##000000
##FB798E1.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)
#93928E
Deuteranopia (green-blind)
#B4AC8B
Tritanopia (blue-blind)
#FF6981
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #fb798e;
/* rgb */ color: rgb(251, 121, 142);
/* oklch */ color: oklch(73.2% 0.159 11.8);
Tailwind
colors: {
  custom: {
    50: '#ffa3ae',
    500: '#fb798e',
    950: '#000000',
  },
}
SCSS
$custom: #fb798e;
$custom-light: #ffa3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fb798e",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 350.308,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73229,
    "c": 0.15929,
    "h": 11.8
  },
  "luminance": 0.36137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB798E

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

Preview Lab → · Contrast checker → · Palette generator →

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