#F5787A#F5787A

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

Color values

HEX#F5787A
RGBrgb(245, 120, 122)
HSLhsl(359, 86%, 72%)
HSVhsv(359, 51%, 96%)
CMYKcmyk(0%, 51%, 50.2%, 3.9%)
CIE-LABlab(65.17, 48.02, 21.70)
CIE-LCHlch(65.17, 52.69, 24.32°)
OKLaboklab(71.81% 0.1438 0.0543)
OKLCHoklch(71.81% 0.154 20.7)
XYZxyz(47.8890, 34.2558, 22.4987)
Luminance0.3425 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5787A #78F5F3
analogous
#F578B9 #F5787A #F5B578
triadic
#F5787A #7AF578 #787AF5
tetradic
#F5787A #B9F578 #78F5F3 #B578F5
square
#F5787A #B9F578 #78F5F3 #B578F5
split-complementary
#F5787A #78F5B5 #78B9F5
monochromatic
#E21114 #F13F42 #F5787A #F9B1B2 #FDE3E3

Accessibility & contrast

On white

2.68
#F5787A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#F5787A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5787A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5787A#FFFFFF#000000##000000
##F5787A1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5787a;
/* rgb */ color: rgb(245, 120, 122);
/* oklch */ color: oklch(71.8% 0.154 20.7);
Tailwind
colors: {
  custom: {
    50: '#fda2a0',
    500: '#f5787a',
    950: '#000000',
  },
}
SCSS
$custom: #f5787a;
$custom-light: #fda2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5787a",
  "rgb": {
    "r": 245,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 359.04,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71813,
    "c": 0.1537,
    "h": 20.7
  },
  "luminance": 0.34251
}

Semantic roles & 50–950 ramp

primary
#F5787A
secondary
#D4F4F4
accent
#E3DF03
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #F5787A

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

Preview Lab → · Contrast checker → · Palette generator →

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