#F5797D#F5797D

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

Color values

HEX#F5797D
RGBrgb(245, 121, 125)
HSLhsl(358, 86%, 72%)
HSVhsv(358, 51%, 96%)
CMYKcmyk(0%, 50.6%, 49%, 3.9%)
CIE-LABlab(65.41, 47.79, 20.35)
CIE-LCHlch(65.41, 51.94, 23.06°)
OKLaboklab(72.02% 0.1434 0.0512)
OKLCHoklch(72.02% 0.152 19.6)
XYZxyz(48.1986, 34.5731, 23.5331)
Luminance0.3457 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5797D #79F5F1
analogous
#F579BB #F5797D #F5B379
triadic
#F5797D #7DF579 #797DF5
tetradic
#F5797D #BBF579 #79F5F1 #B379F5
square
#F5797D #BBF579 #79F5F1 #B379F5
split-complementary
#F5797D #79F5B3 #79BBF5
monochromatic
#E31118 #F14046 #F5797D #F9B2B4 #FDE3E3

Accessibility & contrast

On white

2.65
#F5797D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#F5797D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5797D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5797D#FFFFFF#000000##000000
##F5797D1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7C
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#FF677B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f5797d;
/* rgb */ color: rgb(245, 121, 125);
/* oklch */ color: oklch(72.0% 0.152 19.6);
Tailwind
colors: {
  custom: {
    50: '#fda3a2',
    500: '#f5797d',
    950: '#000000',
  },
}
SCSS
$custom: #f5797d;
$custom-light: #fda3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5797d",
  "rgb": {
    "r": 245,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 358.065,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72022,
    "c": 0.15228,
    "h": 19.6
  },
  "luminance": 0.34568
}

Semantic roles & 50–950 ramp

primary
#F5797D
secondary
#D5F5F4
accent
#E3DB03
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E

Preview Lab

Preview with #F5797D

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

Preview Lab → · Contrast checker → · Palette generator →

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