#F9798F#F9798F

#F9798F is a light, vivid red. Relative luminance 0.358; OKLCH L 73.0% C 0.157 H 11.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#F9798F
RGBrgb(249, 121, 143)
HSLhsl(350, 91%, 73%)
HSVhsv(350, 51%, 98%)
CMYKcmyk(0%, 51.4%, 42.6%, 2.4%)
CIE-LABlab(66.37, 50.90, 11.57)
CIE-LCHlch(66.37, 52.20, 12.80°)
OKLaboklab(72.98% 0.1543 0.0301)
OKLCHoklch(72.98% 0.157 11)
XYZxyz(50.8654, 35.8030, 30.2132)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9798F #79F9E3
analogous
#F979CF #F9798F #F9A379
triadic
#F9798F #8FF979 #798FF9
tetradic
#F9798F #CFF979 #79F9E3 #A379F9
square
#F9798F #CFF979 #79F9E3 #A379F9
split-complementary
#F9798F #79F9A3 #79CFF9
monochromatic
#ED0B32 #F63E5E #F9798F #FCB4C0 #FEE2E7

Accessibility & contrast

On white

2.57
#F9798F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#F9798F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9798F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9798F#FFFFFF#000000##000000
##F9798F1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92928F
Deuteranopia (green-blind)
#B3AB8C
Tritanopia (blue-blind)
#FF6A81
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f9798f;
/* rgb */ color: rgb(249, 121, 143);
/* oklch */ color: oklch(73.0% 0.157 11.0);
Tailwind
colors: {
  custom: {
    50: '#ffa3af',
    500: '#f9798f',
    950: '#000000',
  },
}
SCSS
$custom: #f9798f;
$custom-light: #ffa3af;
$custom-dark: #000000;
JSON
{
  "hex": "#f9798f",
  "rgb": {
    "r": 249,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 349.688,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72984,
    "c": 0.15719,
    "h": 11
  },
  "luminance": 0.35798
}

Semantic roles & 50–950 ramp

primary
#F9798F
secondary
#D5F6F0
accent
#E6BE00
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #F9798F

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

Preview Lab → · Contrast checker → · Palette generator →

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