#FB787F#FB787F

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

Color values

HEX#FB787F
RGBrgb(251, 120, 127)
HSLhsl(357, 94%, 73%)
HSVhsv(357, 52%, 98%)
CMYKcmyk(0%, 52.2%, 49.4%, 1.6%)
CIE-LABlab(66.12, 50.56, 20.32)
CIE-LCHlch(66.12, 54.49, 21.90°)
OKLaboklab(72.74% 0.1518 0.0512)
OKLCHoklch(72.74% 0.16 18.6)
XYZxyz(50.3346, 35.4801, 24.2722)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB787F #78FBF4
analogous
#FB78C0 #FB787F #FBB278
triadic
#FB787F #7FFB78 #787FFB
tetradic
#FB787F #C0FB78 #78FBF4 #B278FB
square
#FB787F #C0FB78 #78FBF4 #B278FB
split-complementary
#FB787F #78FBB2 #78C0FB
monochromatic
#F10714 #F93D47 #FB787F #FDB3B7 #FEE1E3

Accessibility & contrast

On white

2.59
#FB787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#FB787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB787F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB787F#FFFFFF#000000##000000
##FB787F1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95907F
Deuteranopia (green-blind)
#B6AB7C
Tritanopia (blue-blind)
#FF657B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #fb787f;
/* rgb */ color: rgb(251, 120, 127);
/* oklch */ color: oklch(72.7% 0.160 18.6);
Tailwind
colors: {
  custom: {
    50: '#ffa2a4',
    500: '#fb787f',
    950: '#000000',
  },
}
SCSS
$custom: #fb787f;
$custom-light: #ffa2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb787f",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.794,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7274,
    "c": 0.16018,
    "h": 18.6
  },
  "luminance": 0.35474
}

Semantic roles & 50–950 ramp

primary
#FB787F
secondary
#D5F6F5
accent
#E6D900
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F0F
muted
#877F7F

Preview Lab

Preview with #FB787F

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

Preview Lab → · Contrast checker → · Palette generator →

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