#F5787F#F5787F

#F5787F is a light, vivid red. Relative luminance 0.344; OKLCH L 71.9% C 0.153 H 18.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#F5787F
RGBrgb(245, 120, 127)
HSLhsl(357, 86%, 72%)
HSVhsv(357, 51%, 96%)
CMYKcmyk(0%, 51%, 48.2%, 3.9%)
CIE-LABlab(65.27, 48.46, 19.01)
CIE-LCHlch(65.27, 52.06, 21.42°)
OKLaboklab(71.92% 0.1457 0.0481)
OKLCHoklch(71.92% 0.153 18.3)
XYZxyz(48.2068, 34.3830, 24.1724)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5787F #78F5EE
analogous
#F578BE #F5787F #F5B078
triadic
#F5787F #7FF578 #787FF5
tetradic
#F5787F #BEF578 #78F5EE #B078F5
square
#F5787F #BEF578 #78F5EE #B078F5
split-complementary
#F5787F #78F5B0 #78BEF5
monochromatic
#E2111C #F13F49 #F5787F #F9B1B5 #FDE3E4

Accessibility & contrast

On white

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

On black

7.88
#F5787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5787F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5787F#FFFFFF#000000##000000
##F5787F1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938F7F
Deuteranopia (green-blind)
#B3A87C
Tritanopia (blue-blind)
#FF677B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f5787f;
/* rgb */ color: rgb(245, 120, 127);
/* oklch */ color: oklch(71.9% 0.153 18.3);
Tailwind
colors: {
  custom: {
    50: '#fda2a4',
    500: '#f5787f',
    950: '#000000',
  },
}
SCSS
$custom: #f5787f;
$custom-light: #fda2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5787f",
  "rgb": {
    "r": 245,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.64,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71922,
    "c": 0.15341,
    "h": 18.3
  },
  "luminance": 0.34378
}

Semantic roles & 50–950 ramp

primary
#F5787F
secondary
#D4F4F3
accent
#E3D603
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #F5787F

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

Preview Lab → · Contrast checker → · Palette generator →

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