#FC787F#FC787F

#FC787F is a light, vivid red. Relative luminance 0.357; OKLCH L 72.9% C 0.161 H 18.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#FC787F
RGBrgb(252, 120, 127)
HSLhsl(357, 96%, 73%)
HSVhsv(357, 52%, 99%)
CMYKcmyk(0%, 52.4%, 49.6%, 1.2%)
CIE-LABlab(66.26, 50.90, 20.54)
CIE-LCHlch(66.26, 54.89, 21.97°)
OKLaboklab(72.88% 0.1528 0.0517)
OKLCHoklch(72.88% 0.161 18.7)
XYZxyz(50.6958, 35.6664, 24.2891)
Luminance0.3566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC787F #78FCF5
analogous
#FC78C1 #FC787F #FCB378
triadic
#FC787F #7FFC78 #787FFC
tetradic
#FC787F #C1FC78 #78FCF5 #B378FC
square
#FC787F #C1FC78 #78FCF5 #B378FC
split-complementary
#FC787F #78FCB3 #78C1FC
monochromatic
#F40512 #FB3C46 #FC787F #FDB4B8 #FEE1E3

Accessibility & contrast

On white

2.58
#FC787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#FC787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC787F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC787F#FFFFFF#000000##000000
##FC787F1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fc787f;
/* rgb */ color: rgb(252, 120, 127);
/* oklch */ color: oklch(72.9% 0.161 18.7);
Tailwind
colors: {
  custom: {
    50: '#ffa2a4',
    500: '#fc787f',
    950: '#000000',
  },
}
SCSS
$custom: #fc787f;
$custom-light: #ffa2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fc787f",
  "rgb": {
    "r": 252,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72877,
    "c": 0.1613,
    "h": 18.7
  },
  "luminance": 0.35661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC787F

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

Preview Lab → · Contrast checker → · Palette generator →

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