#F5797A#F5797A

#F5797A is a light, vivid red. Relative luminance 0.345; OKLCH L 72.0% C 0.153 H 21.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#F5797A
RGBrgb(245, 121, 122)
HSLhsl(360, 86%, 72%)
HSVhsv(360, 51%, 96%)
CMYKcmyk(0%, 50.6%, 50.2%, 3.9%)
CIE-LABlab(65.36, 47.53, 21.96)
CIE-LCHlch(65.36, 52.36, 24.80°)
OKLaboklab(71.96% 0.1423 0.055)
OKLCHoklch(71.96% 0.153 21.1)
XYZxyz(48.0099, 34.4976, 22.5390)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5797A #79F5F4
analogous
#F579B8 #F5797A #F5B679
triadic
#F5797A #7AF579 #797AF5
tetradic
#F5797A #B8F579 #79F5F4 #B679F5
square
#F5797A #B8F579 #79F5F4 #B679F5
split-complementary
#F5797A #79F5B6 #79B8F5
monochromatic
#E31113 #F14041 #F5797A #F9B2B3 #FDE3E3

Accessibility & contrast

On white

2.66
#F5797A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#F5797A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5797A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5797A#FFFFFF#000000##000000
##F5797A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958F79
Deuteranopia (green-blind)
#B4A877
Tritanopia (blue-blind)
#FF677A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f5797a;
/* rgb */ color: rgb(245, 121, 122);
/* oklch */ color: oklch(72.0% 0.153 21.1);
Tailwind
colors: {
  custom: {
    50: '#fda3a0',
    500: '#f5797a',
    950: '#000000',
  },
}
SCSS
$custom: #f5797a;
$custom-light: #fda3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5797a",
  "rgb": {
    "r": 245,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 359.516,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71957,
    "c": 0.15251,
    "h": 21.1
  },
  "luminance": 0.34492
}

Semantic roles & 50–950 ramp

primary
#F5797A
secondary
#D5F5F4
accent
#E3E103
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #F5797A

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

Preview Lab → · Contrast checker → · Palette generator →

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