#F5797B#F5797B

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

Color values

HEX#F5797B
RGBrgb(245, 121, 123)
HSLhsl(359, 86%, 72%)
HSVhsv(359, 51%, 96%)
CMYKcmyk(0%, 50.6%, 49.8%, 3.9%)
CIE-LABlab(65.38, 47.62, 21.42)
CIE-LCHlch(65.38, 52.21, 24.22°)
OKLaboklab(71.98% 0.1426 0.0537)
OKLCHoklch(71.98% 0.152 20.6)
XYZxyz(48.0722, 34.5225, 22.8670)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5797B #79F5F3
analogous
#F579B9 #F5797B #F5B579
triadic
#F5797B #7BF579 #797BF5
tetradic
#F5797B #B9F579 #79F5F3 #B579F5
square
#F5797B #B9F579 #79F5F3 #B579F5
split-complementary
#F5797B #79F5B5 #79B9F5
monochromatic
#E31114 #F14043 #F5797B #F9B2B3 #FDE3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5797B#FFFFFF#000000##000000
##F5797B1.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)
#958F7A
Deuteranopia (green-blind)
#B4A878
Tritanopia (blue-blind)
#FF677B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f5797b;
/* rgb */ color: rgb(245, 121, 123);
/* oklch */ color: oklch(72.0% 0.152 20.6);
Tailwind
colors: {
  custom: {
    50: '#fda3a1',
    500: '#f5797b',
    950: '#000000',
  },
}
SCSS
$custom: #f5797b;
$custom-light: #fda3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5797b",
  "rgb": {
    "r": 245,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 359.032,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71979,
    "c": 0.15242,
    "h": 20.6
  },
  "luminance": 0.34517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5797B

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

Preview Lab → · Contrast checker → · Palette generator →

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