#FB787C#FB787C

#FB787C is a light, vivid red. Relative luminance 0.354; OKLCH L 72.7% C 0.160 H 20.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#FB787C
RGBrgb(251, 120, 124)
HSLhsl(358, 94%, 73%)
HSVhsv(358, 52%, 98%)
CMYKcmyk(0%, 52.2%, 50.6%, 1.6%)
CIE-LABlab(66.06, 50.30, 21.93)
CIE-LCHlch(66.06, 54.87, 23.56°)
OKLaboklab(72.68% 0.1507 0.0549)
OKLCHoklch(72.68% 0.16 20)
XYZxyz(50.1420, 35.4030, 23.2578)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB787C #78FBF7
analogous
#FB78BD #FB787C #FBB578
triadic
#FB787C #7CFB78 #787CFB
tetradic
#FB787C #BDFB78 #78FBF7 #B578FB
square
#FB787C #BDFB78 #78FBF7 #B578FB
split-complementary
#FB787C #78FBB5 #78BDFB
monochromatic
#F1070E #F93D42 #FB787C #FDB3B6 #FEE1E2

Accessibility & contrast

On white

2.60
#FB787C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#FB787C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB787C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB787C#FFFFFF#000000##000000
##FB787C1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96907B
Deuteranopia (green-blind)
#B6AB79
Tritanopia (blue-blind)
#FF657A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #fb787c;
/* rgb */ color: rgb(251, 120, 124);
/* oklch */ color: oklch(72.7% 0.160 20.0);
Tailwind
colors: {
  custom: {
    50: '#ffa2a1',
    500: '#fb787c',
    950: '#000000',
  },
}
SCSS
$custom: #fb787c;
$custom-light: #ffa2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb787c",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 358.168,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72676,
    "c": 0.16034,
    "h": 20
  },
  "luminance": 0.35397
}

Semantic roles & 50–950 ramp

primary
#FB787C
secondary
#D5F6F5
accent
#E6DE00
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#190F0F
muted
#877F7E

Preview Lab

Preview with #FB787C

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

Preview Lab → · Contrast checker → · Palette generator →

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