#FC7871#FC7871

#FC7871 is a light, vivid red. Relative luminance 0.353; OKLCH L 72.6% C 0.163 H 25.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#FC7871
RGBrgb(252, 120, 113)
HSLhsl(3, 96%, 72%)
HSVhsv(3, 55%, 99%)
CMYKcmyk(0%, 52.4%, 55.2%, 1.2%)
CIE-LABlab(66.00, 49.76, 28.05)
CIE-LCHlch(66.00, 57.12, 29.41°)
OKLaboklab(72.59% 0.1475 0.0688)
OKLCHoklch(72.59% 0.163 25)
XYZxyz(49.8460, 35.3264, 19.8133)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7871 #71F5FC
analogous
#FC71B0 #FC7871 #FCBE71
triadic
#FC7871 #71FC78 #7871FC
tetradic
#FC7871 #B0FC71 #71F5FC #BE71FC
square
#FC7871 #B0FC71 #71F5FC #BE71FC
split-complementary
#FC7871 #71FCBE #71B0FC
monochromatic
#EE1105 #FB3F35 #FC7871 #FDB1AD #FEE3E1

Accessibility & contrast

On white

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

On black

8.06
#FC7871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7871
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7871#FFFFFF#000000##000000
##FC78711.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988F70
Deuteranopia (green-blind)
#B8AB6E
Tritanopia (blue-blind)
#FF6277
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fc7871;
/* rgb */ color: rgb(252, 120, 113);
/* oklch */ color: oklch(72.6% 0.163 25.0);
Tailwind
colors: {
  custom: {
    50: '#ffa29a',
    500: '#fc7871',
    950: '#000000',
  },
}
SCSS
$custom: #fc7871;
$custom-light: #ffa29a;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7871",
  "rgb": {
    "r": 252,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 3.022,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72593,
    "c": 0.16271,
    "h": 25
  },
  "luminance": 0.35321
}

Semantic roles & 50–950 ramp

primary
#FC7871
secondary
#D3F4F6
accent
#DAE600
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#190F0E
muted
#877F7E

Preview Lab

Preview with #FC7871

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

Preview Lab → · Contrast checker → · Palette generator →

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