#FF878E#FF878E

#FF878E is a light, vivid red. Relative luminance 0.405; OKLCH L 75.8% C 0.146 H 17.5°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#FF878E
RGBrgb(255, 135, 142)
HSLhsl(357, 100%, 76%)
HSVhsv(357, 47%, 100%)
CMYKcmyk(0%, 47.1%, 44.3%, 0%)
CIE-LABlab(69.86, 46.05, 17.13)
CIE-LCHlch(69.86, 49.13, 20.40°)
OKLaboklab(75.79% 0.1389 0.0438)
OKLCHoklch(75.79% 0.146 17.5)
XYZxyz(54.7898, 40.5464, 30.5267)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF878E #87FFF8
analogous
#FF87CA #FF878E #FFBC87
triadic
#FF878E #8EFF87 #878EFF
tetradic
#FF878E #CAFF87 #87FFF8 #BC87FF
square
#FF878E #CAFF87 #87FFF8 #BC87FF
split-complementary
#FF878E #87FFBC #87CAFF
monochromatic
#FF0D1B #FF4A54 #FF878E #FFC4C8 #FFE0E2

Accessibility & contrast

On white

2.31
#FF878E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#FF878E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF878E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF878E#FFFFFF#000000##000000
##FF878E1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09C8E
Deuteranopia (green-blind)
#BEB48C
Tritanopia (blue-blind)
#FF788A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ff878e;
/* rgb */ color: rgb(255, 135, 142);
/* oklch */ color: oklch(75.8% 0.146 17.5);
Tailwind
colors: {
  custom: {
    50: '#ffacaf',
    500: '#ff878e',
    950: '#000000',
  },
}
SCSS
$custom: #ff878e;
$custom-light: #ffacaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ff878e",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 356.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75785,
    "c": 0.1456,
    "h": 17.5
  },
  "luminance": 0.40541
}

Semantic roles & 50–950 ramp

primary
#FF878E
secondary
#D4F7F5
accent
#E6D800
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#191010
muted
#877F7F

Preview Lab

Preview with #FF878E

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

Preview Lab → · Contrast checker → · Palette generator →

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