#FF87DC#FF87DC

#FF87DC is a light, vivid pink. Relative luminance 0.438; OKLCH L 78.2% C 0.175 H 339.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#FF87DC
RGBrgb(255, 135, 220)
HSLhsl(318, 100%, 76%)
HSVhsv(318, 47%, 100%)
CMYKcmyk(0%, 47.1%, 13.7%, 0%)
CIE-LABlab(72.07, 55.94, -23.07)
CIE-LCHlch(72.07, 60.51, 337.59°)
OKLaboklab(78.18% 0.1641 -0.0618)
OKLCHoklch(78.18% 0.175 339.4)
XYZxyz(62.8228, 43.7596, 72.8338)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87DC #87FFAA
analogous
#E687FF #FF87DC #FF87A0
triadic
#FF87DC #DCFF87 #87DCFF
tetradic
#FF87DC #FFE687 #87FFAA #87A0FF
square
#FF87DC #FFE687 #87FFAA #87A0FF
split-complementary
#FF87DC #A0FF87 #87FFE6
monochromatic
#FF0DB8 #FF4ACA #FF87DC #FFC4EE #FFE0F6

Accessibility & contrast

On white

2.15
#FF87DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#FF87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87DC
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87DC#FFFFFF#000000##000000
##FF87DC1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DF
Deuteranopia (green-blind)
#ACB8D9
Tritanopia (blue-blind)
#FF8AA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ff87dc;
/* rgb */ color: rgb(255, 135, 220);
/* oklch */ color: oklch(78.2% 0.175 339.4);
Tailwind
colors: {
  custom: {
    50: '#ffade7',
    500: '#ff87dc',
    950: '#000000',
  },
}
SCSS
$custom: #ff87dc;
$custom-light: #ffade7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87dc",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 317.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78177,
    "c": 0.17533,
    "h": 339.4
  },
  "luminance": 0.43755
}

Semantic roles & 50–950 ramp

primary
#FF87DC
secondary
#D4F7DE
accent
#E64300
background
#FFFAFE
surface
#FFF5FC
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FF87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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