#F5798E#F5798E

#F5798E is a light, vivid red. Relative luminance 0.350; OKLCH L 72.4% C 0.153 H 11.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#F5798E
RGBrgb(245, 121, 142)
HSLhsl(350, 86%, 72%)
HSVhsv(350, 51%, 96%)
CMYKcmyk(0%, 50.6%, 42%, 3.9%)
CIE-LABlab(65.78, 49.43, 11.23)
CIE-LCHlch(65.78, 50.69, 12.80°)
OKLaboklab(72.42% 0.1498 0.0292)
OKLCHoklch(72.42% 0.153 11)
XYZxyz(49.3790, 35.0453, 29.7499)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5798E #79F5E0
analogous
#F579CC #F5798E #F5A279
triadic
#F5798E #8EF579 #798EF5
tetradic
#F5798E #CCF579 #79F5E0 #A279F5
square
#F5798E #CCF579 #79F5E0 #A279F5
split-complementary
#F5798E #79F5A2 #79CCF5
monochromatic
#E31134 #F1405E #F5798E #F9B2BE #FDE3E7

Accessibility & contrast

On white

2.62
#F5798E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#F5798E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5798E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5798E#FFFFFF#000000##000000
##F5798E1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91918E
Deuteranopia (green-blind)
#B1A98B
Tritanopia (blue-blind)
#FF6B81
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f5798e;
/* rgb */ color: rgb(245, 121, 142);
/* oklch */ color: oklch(72.4% 0.153 11.0);
Tailwind
colors: {
  custom: {
    50: '#fca3ae',
    500: '#f5798e',
    950: '#000000',
  },
}
SCSS
$custom: #f5798e;
$custom-light: #fca3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5798e",
  "rgb": {
    "r": 245,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 349.839,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.15265,
    "h": 11
  },
  "luminance": 0.3504
}

Semantic roles & 50–950 ramp

primary
#F5798E
secondary
#D5F5EF
accent
#E3BD03
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #F5798E

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

Preview Lab → · Contrast checker → · Palette generator →

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