#F5797E#F5797E

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

Color values

HEX#F5797E
RGBrgb(245, 121, 126)
HSLhsl(358, 86%, 72%)
HSVhsv(358, 51%, 96%)
CMYKcmyk(0%, 50.6%, 48.6%, 3.9%)
CIE-LABlab(65.44, 47.88, 19.81)
CIE-LCHlch(65.44, 51.82, 22.47°)
OKLaboklab(72.04% 0.1438 0.0499)
OKLCHoklch(72.04% 0.152 19.2)
XYZxyz(48.2628, 34.5988, 23.8712)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5797E #79F5F0
analogous
#F579BC #F5797E #F5B279
triadic
#F5797E #7EF579 #797EF5
tetradic
#F5797E #BCF579 #79F5F0 #B279F5
square
#F5797E #BCF579 #79F5F0 #B279F5
split-complementary
#F5797E #79F5B2 #79BCF5
monochromatic
#E31119 #F14047 #F5797E #F9B2B5 #FDE3E4

Accessibility & contrast

On white

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

On black

7.92
#F5797E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5797E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5797E#FFFFFF#000000##000000
##F5797E1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7D
Deuteranopia (green-blind)
#B3A97B
Tritanopia (blue-blind)
#FF687C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f5797e;
/* rgb */ color: rgb(245, 121, 126);
/* oklch */ color: oklch(72.0% 0.152 19.2);
Tailwind
colors: {
  custom: {
    50: '#fda3a3',
    500: '#f5797e',
    950: '#000000',
  },
}
SCSS
$custom: #f5797e;
$custom-light: #fda3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5797e",
  "rgb": {
    "r": 245,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 357.581,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.15222,
    "h": 19.2
  },
  "luminance": 0.34594
}

Semantic roles & 50–950 ramp

primary
#F5797E
secondary
#D5F5F3
accent
#E3DA03
background
#FFFAFA
surface
#FFF4F3
border
#D7CECD
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #F5797E

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

Preview Lab → · Contrast checker → · Palette generator →

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