#F0797A#F0797A

#F0797A is a light, vivid red. Relative luminance 0.336; OKLCH L 71.3% C 0.147 H 20.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#F0797A
RGBrgb(240, 121, 122)
HSLhsl(359, 80%, 71%)
HSVhsv(359, 50%, 94%)
CMYKcmyk(0%, 49.6%, 49.2%, 5.9%)
CIE-LABlab(64.65, 45.75, 20.89)
CIE-LCHlch(64.65, 50.29, 24.54°)
OKLaboklab(71.28% 0.1371 0.0525)
OKLCHoklch(71.28% 0.147 20.9)
XYZxyz(46.2886, 33.6101, 22.4583)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0797A #79F0EF
analogous
#F079B5 #F0797A #F0B379
triadic
#F0797A #7AF079 #797AF0
tetradic
#F0797A #B5F079 #79F0EF #B379F0
square
#F0797A #B5F079 #79F0EF #B379F0
split-complementary
#F0797A #79F0B3 #79B5F0
monochromatic
#D7181A #EA4243 #F0797A #F6B0B1 #FCE3E4

Accessibility & contrast

On white

2.72
#F0797A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#F0797A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0797A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0797A#FFFFFF#000000##000000
##F0797A1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E79
Deuteranopia (green-blind)
#B1A678
Tritanopia (blue-blind)
#FF687A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f0797a;
/* rgb */ color: rgb(240, 121, 122);
/* oklch */ color: oklch(71.3% 0.147 20.9);
Tailwind
colors: {
  custom: {
    50: '#f9a2a0',
    500: '#f0797a',
    950: '#000000',
  },
}
SCSS
$custom: #f0797a;
$custom-light: #f9a2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0797a",
  "rgb": {
    "r": 240,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 359.496,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71282,
    "c": 0.14677,
    "h": 20.9
  },
  "luminance": 0.33605
}

Semantic roles & 50–950 ramp

primary
#F0797A
secondary
#D2F2F2
accent
#DCDA09
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #F0797A

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

Preview Lab → · Contrast checker → · Palette generator →

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