#F9798C#F9798C

#F9798C is a light, vivid red. Relative luminance 0.357; OKLCH L 72.9% C 0.157 H 12.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#F9798C
RGBrgb(249, 121, 140)
HSLhsl(351, 91%, 73%)
HSVhsv(351, 51%, 98%)
CMYKcmyk(0%, 51.4%, 43.8%, 2.4%)
CIE-LABlab(66.30, 50.60, 13.17)
CIE-LCHlch(66.30, 52.29, 14.59°)
OKLaboklab(72.91% 0.1532 0.034)
OKLCHoklch(72.91% 0.157 12.5)
XYZxyz(50.6412, 35.7133, 29.0323)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9798C #79F9E6
analogous
#F979CC #F9798C #F9A679
triadic
#F9798C #8CF979 #798CF9
tetradic
#F9798C #CCF979 #79F9E6 #A679F9
square
#F9798C #CCF979 #79F9E6 #A679F9
split-complementary
#F9798C #79F9A6 #79CCF9
monochromatic
#ED0B2C #F63E5A #F9798C #FCB4BE #FEE2E6

Accessibility & contrast

On white

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

On black

8.14
#F9798C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9798C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9798C#FFFFFF#000000##000000
##F9798C1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93918C
Deuteranopia (green-blind)
#B3AB89
Tritanopia (blue-blind)
#FF6980
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f9798c;
/* rgb */ color: rgb(249, 121, 140);
/* oklch */ color: oklch(72.9% 0.157 12.5);
Tailwind
colors: {
  custom: {
    50: '#ffa3ad',
    500: '#f9798c',
    950: '#000000',
  },
}
SCSS
$custom: #f9798c;
$custom-light: #ffa3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f9798c",
  "rgb": {
    "r": 249,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 351.094,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7291,
    "c": 0.1569,
    "h": 12.5
  },
  "luminance": 0.35708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9798C

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

Preview Lab → · Contrast checker → · Palette generator →

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