#F5798A#F5798A

#F5798A is a light, vivid red. Relative luminance 0.349; OKLCH L 72.3% C 0.152 H 13.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#F5798A
RGBrgb(245, 121, 138)
HSLhsl(352, 86%, 72%)
HSVhsv(352, 51%, 96%)
CMYKcmyk(0%, 50.6%, 43.7%, 3.9%)
CIE-LABlab(65.69, 49.03, 13.37)
CIE-LCHlch(65.69, 50.82, 15.25°)
OKLaboklab(72.32% 0.1483 0.0345)
OKLCHoklch(72.32% 0.152 13.1)
XYZxyz(49.0841, 34.9273, 28.1965)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5798A #79F5E4
analogous
#F579C8 #F5798A #F5A679
triadic
#F5798A #8AF579 #798AF5
tetradic
#F5798A #C8F579 #79F5E4 #A679F5
square
#F5798A #C8F579 #79F5E4 #A679F5
split-complementary
#F5798A #79F5A6 #79C8F5
monochromatic
#E3112E #F14058 #F5798A #F9B2BC #FDE3E6

Accessibility & contrast

On white

2.63
#F5798A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#F5798A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5798A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5798A#FFFFFF#000000##000000
##F5798A1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92908A
Deuteranopia (green-blind)
#B1A987
Tritanopia (blue-blind)
#FF6A7F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f5798a;
/* rgb */ color: rgb(245, 121, 138);
/* oklch */ color: oklch(72.3% 0.152 13.1);
Tailwind
colors: {
  custom: {
    50: '#fda3ac',
    500: '#f5798a',
    950: '#000000',
  },
}
SCSS
$custom: #f5798a;
$custom-light: #fda3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f5798a",
  "rgb": {
    "r": 245,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 351.774,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72322,
    "c": 0.1523,
    "h": 13.1
  },
  "luminance": 0.34922
}

Semantic roles & 50–950 ramp

primary
#F5798A
secondary
#D5F5F0
accent
#E3C403
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #F5798A

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

Preview Lab → · Contrast checker → · Palette generator →

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