#FC87E4#FC87E4

#FC87E4 is a light, vivid pink. Relative luminance 0.436; OKLCH L 78.1% C 0.179 H 335.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#FC87E4
RGBrgb(252, 135, 228)
HSLhsl(312, 95%, 76%)
HSVhsv(312, 46%, 99%)
CMYKcmyk(0%, 46.4%, 9.5%, 1.2%)
CIE-LABlab(71.98, 56.30, -27.64)
CIE-LCHlch(71.98, 62.72, 333.85°)
OKLaboklab(78.13% 0.1628 -0.0746)
OKLCHoklch(78.13% 0.179 335.4)
XYZxyz(62.8125, 43.6288, 78.4966)
Luminance0.4363 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87E4 #87FC9F
analogous
#DA87FC #FC87E4 #FC87A9
triadic
#FC87E4 #E4FC87 #87E4FC
tetradic
#FC87E4 #FCDA87 #87FC9F #87A9FC
square
#FC87E4 #FCDA87 #87FC9F #87A9FC
split-complementary
#FC87E4 #A9FC87 #87FCDA
monochromatic
#F910C9 #FB4BD7 #FC87E4 #FDC3F1 #FEE1F8

Accessibility & contrast

On white

2.16
#FC87E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#FC87E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87E4
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87E4#FFFFFF#000000##000000
##FC87E41.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A6E7
Deuteranopia (green-blind)
#A8B7E1
Tritanopia (blue-blind)
#FF8CAB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fc87e4;
/* rgb */ color: rgb(252, 135, 228);
/* oklch */ color: oklch(78.1% 0.179 335.4);
Tailwind
colors: {
  custom: {
    50: '#ffadec',
    500: '#fc87e4',
    950: '#000000',
  },
}
SCSS
$custom: #fc87e4;
$custom-light: #ffadec;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87e4",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 312.308,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78128,
    "c": 0.17905,
    "h": 335.4
  },
  "luminance": 0.43625
}

Semantic roles & 50–950 ramp

primary
#FC87E4
secondary
#D5F6DB
accent
#E62F00
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FC87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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