#FC87E2#FC87E2

#FC87E2 is a light, vivid pink. Relative luminance 0.435; OKLCH L 78.0% C 0.177 H 336.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#FC87E2
RGBrgb(252, 135, 226)
HSLhsl(313, 95%, 76%)
HSVhsv(313, 46%, 99%)
CMYKcmyk(0%, 46.4%, 10.3%, 1.2%)
CIE-LABlab(71.91, 55.98, -26.66)
CIE-LCHlch(71.91, 62.00, 334.53°)
OKLaboklab(78.05% 0.1623 -0.0719)
OKLCHoklch(78.05% 0.178 336.1)
XYZxyz(62.5365, 43.5184, 77.0428)
Luminance0.4351 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87E2 #87FCA1
analogous
#DB87FC #FC87E2 #FC87A7
triadic
#FC87E2 #E2FC87 #87E2FC
tetradic
#FC87E2 #FCDB87 #87FCA1 #87A7FC
square
#FC87E2 #FCDB87 #87FCA1 #87A7FC
split-complementary
#FC87E2 #A7FC87 #87FCDB
monochromatic
#F910C5 #FB4BD4 #FC87E2 #FDC3F0 #FEE1F8

Accessibility & contrast

On white

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

On black

9.70
#FC87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87E2
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87E2#FFFFFF#000000##000000
##FC87E21.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E5
Deuteranopia (green-blind)
#A8B7DF
Tritanopia (blue-blind)
#FF8CAA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fc87e2;
/* rgb */ color: rgb(252, 135, 226);
/* oklch */ color: oklch(78.0% 0.177 336.1);
Tailwind
colors: {
  custom: {
    50: '#ffadeb',
    500: '#fc87e2',
    950: '#000000',
  },
}
SCSS
$custom: #fc87e2;
$custom-light: #ffadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87e2",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 313.333,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78048,
    "c": 0.1775,
    "h": 336.1
  },
  "luminance": 0.43514
}

Semantic roles & 50–950 ramp

primary
#FC87E2
secondary
#D5F6DC
accent
#E63300
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FC87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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