#F5987F#F5987F

#F5987F is a light, moderate red. Relative luminance 0.434; OKLCH L 76.9% C 0.118 H 35.8°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#F5987F
RGBrgb(245, 152, 127)
HSLhsl(13, 86%, 73%)
HSVhsv(13, 48%, 96%)
CMYKcmyk(0%, 38%, 48.2%, 3.9%)
CIE-LABlab(71.83, 32.24, 27.87)
CIE-LCHlch(71.83, 42.61, 40.84°)
OKLaboklab(76.93% 0.0957 0.0691)
OKLCHoklch(76.93% 0.118 35.8)
XYZxyz(52.7183, 43.4059, 25.6762)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5987F #7FDCF5
analogous
#F57FA1 #F5987F #F5D37F
triadic
#F5987F #7FF598 #987FF5
tetradic
#F5987F #A1F57F #7FDCF5 #D37FF5
square
#F5987F #A1F57F #7FDCF5 #D37FF5
split-complementary
#F5987F #7FF5D3 #7FA1F5
monochromatic
#E83F12 #F16A46 #F5987F #F9C6B8 #FDE8E3

Accessibility & contrast

On white

2.17
#F5987F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#F5987F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5987F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5987F#FFFFFF#000000##000000
##F5987F1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA47D
Deuteranopia (green-blind)
#C5B87E
Tritanopia (blue-blind)
#FF8992
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f5987f;
/* rgb */ color: rgb(245, 152, 127);
/* oklch */ color: oklch(76.9% 0.118 35.8);
Tailwind
colors: {
  custom: {
    50: '#fcb7a4',
    500: '#f5987f',
    950: '#000000',
  },
}
SCSS
$custom: #f5987f;
$custom-light: #fcb7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5987f",
  "rgb": {
    "r": 245,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 12.712,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76931,
    "c": 0.11805,
    "h": 35.8
  },
  "luminance": 0.43401
}

Semantic roles & 50–950 ramp

primary
#F5987F
secondary
#D6EEF5
accent
#B3E203
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#18110F
muted
#86807F

Preview Lab

Preview with #F5987F

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

Preview Lab → · Contrast checker → · Palette generator →

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