#F5787C#F5787C

#F5787C is a light, vivid red. Relative luminance 0.343; OKLCH L 71.9% C 0.154 H 19.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#F5787C
RGBrgb(245, 120, 124)
HSLhsl(358, 86%, 72%)
HSVhsv(358, 51%, 96%)
CMYKcmyk(0%, 51%, 49.4%, 3.9%)
CIE-LABlab(65.20, 48.19, 20.62)
CIE-LCHlch(65.20, 52.42, 23.17°)
OKLaboklab(71.86% 0.1445 0.0518)
OKLCHoklch(71.86% 0.154 19.7)
XYZxyz(48.0142, 34.3059, 23.1580)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5787C #78F5F1
analogous
#F578BB #F5787C #F5B378
triadic
#F5787C #7CF578 #787CF5
tetradic
#F5787C #BBF578 #78F5F1 #B378F5
square
#F5787C #BBF578 #78F5F1 #B378F5
split-complementary
#F5787C #78F5B3 #78BBF5
monochromatic
#E21117 #F13F45 #F5787C #F9B1B3 #FDE3E3

Accessibility & contrast

On white

2.67
#F5787C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#F5787C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5787C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5787C#FFFFFF#000000##000000
##F5787C1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E7B
Deuteranopia (green-blind)
#B3A879
Tritanopia (blue-blind)
#FF667A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f5787c;
/* rgb */ color: rgb(245, 120, 124);
/* oklch */ color: oklch(71.9% 0.154 19.7);
Tailwind
colors: {
  custom: {
    50: '#fda2a1',
    500: '#f5787c',
    950: '#000000',
  },
}
SCSS
$custom: #f5787c;
$custom-light: #fda2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5787c",
  "rgb": {
    "r": 245,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 358.08,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71856,
    "c": 0.15356,
    "h": 19.7
  },
  "luminance": 0.34301
}

Semantic roles & 50–950 ramp

primary
#F5787C
secondary
#D4F4F3
accent
#E3DC03
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E

Preview Lab

Preview with #F5787C

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

Preview Lab → · Contrast checker → · Palette generator →

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