#FB877F#FB877F

#FB877F is a light, vivid red. Relative luminance 0.394; OKLCH L 74.9% C 0.142 H 25.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#FB877F
RGBrgb(251, 135, 127)
HSLhsl(4, 94%, 74%)
HSVhsv(4, 49%, 98%)
CMYKcmyk(0%, 46.2%, 49.4%, 1.6%)
CIE-LABlab(69.02, 43.20, 24.25)
CIE-LCHlch(69.02, 49.54, 29.31°)
OKLaboklab(74.94% 0.1289 0.0605)
OKLCHoklch(74.94% 0.142 25.1)
XYZxyz(52.2819, 39.3748, 24.9213)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB877F #7FF3FB
analogous
#FB7FB5 #FB877F #FBC57F
triadic
#FB877F #7FFB87 #877FFB
tetradic
#FB877F #B5FB7F #7FF3FB #C57FFB
square
#FB877F #B5FB7F #7FF3FB #C57FFB
split-complementary
#FB877F #7FFBC5 #7FB5FB
monochromatic
#F71808 #F94F44 #FB877F #FDBFBA #FEE3E1

Accessibility & contrast

On white

2.37
#FB877F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#FB877F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB877F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB877F#FFFFFF#000000##000000
##FB877F1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19A7E
Deuteranopia (green-blind)
#BEB27D
Tritanopia (blue-blind)
#FF7686
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #fb877f;
/* rgb */ color: rgb(251, 135, 127);
/* oklch */ color: oklch(74.9% 0.142 25.1);
Tailwind
colors: {
  custom: {
    50: '#ffaca4',
    500: '#fb877f',
    950: '#000000',
  },
}
SCSS
$custom: #fb877f;
$custom-light: #ffaca4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb877f",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 3.871,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74942,
    "c": 0.14243,
    "h": 25.1
  },
  "luminance": 0.39369
}

Semantic roles & 50–950 ramp

primary
#FB877F
secondary
#D5F4F6
accent
#D7E600
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#19100F
muted
#877F7F

Preview Lab

Preview with #FB877F

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

Preview Lab → · Contrast checker → · Palette generator →

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