#FB878F#FB878F

#FB878F is a light, vivid red. Relative luminance 0.398; OKLCH L 75.3% C 0.141 H 16.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#FB878F
RGBrgb(251, 135, 143)
HSLhsl(356, 94%, 76%)
HSVhsv(356, 46%, 98%)
CMYKcmyk(0%, 46.2%, 43%, 1.6%)
CIE-LABlab(69.35, 44.73, 15.78)
CIE-LCHlch(69.35, 47.43, 19.43°)
OKLaboklab(75.29% 0.1351 0.0405)
OKLCHoklch(75.29% 0.141 16.7)
XYZxyz(53.4087, 39.8255, 30.8556)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB878F #87FBF3
analogous
#FB87C9 #FB878F #FBB987
triadic
#FB878F #8FFB87 #878FFB
tetradic
#FB878F #C9FB87 #87FBF3 #B987FB
square
#FB878F #C9FB87 #87FBF3 #B987FB
split-complementary
#FB878F #87FBB9 #87C9FB
monochromatic
#F71120 #F94C58 #FB878F #FDC2C6 #FEE1E3

Accessibility & contrast

On white

2.34
#FB878F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#FB878F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB878F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB878F#FFFFFF#000000##000000
##FB878F1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9B8F
Deuteranopia (green-blind)
#BCB28D
Tritanopia (blue-blind)
#FF798A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb878f;
/* rgb */ color: rgb(251, 135, 143);
/* oklch */ color: oklch(75.3% 0.141 16.7);
Tailwind
colors: {
  custom: {
    50: '#ffacaf',
    500: '#fb878f',
    950: '#000000',
  },
}
SCSS
$custom: #fb878f;
$custom-light: #ffacaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fb878f",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 143
  },
  "hsl": {
    "h": 355.862,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75294,
    "c": 0.141,
    "h": 16.7
  },
  "luminance": 0.3982
}

Semantic roles & 50–950 ramp

primary
#FB878F
secondary
#D5F6F4
accent
#E6D600
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#181010
muted
#867F7F

Preview Lab

Preview with #FB878F

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

Preview Lab → · Contrast checker → · Palette generator →

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