#FF87D4#FF87D4

#FF87D4 is a light, vivid pink. Relative luminance 0.433; OKLCH L 77.9% C 0.170 H 342.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#FF87D4
RGBrgb(255, 135, 212)
HSLhsl(322, 100%, 76%)
HSVhsv(322, 47%, 100%)
CMYKcmyk(0%, 47.1%, 16.9%, 0%)
CIE-LABlab(71.79, 54.74, -19.08)
CIE-LCHlch(71.79, 57.97, 340.78°)
OKLaboklab(77.88% 0.162 -0.0507)
OKLCHoklch(77.88% 0.17 342.6)
XYZxyz(61.7886, 43.3459, 67.3868)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87D4 #87FFB2
analogous
#EE87FF #FF87D4 #FF8798
triadic
#FF87D4 #D4FF87 #87D4FF
tetradic
#FF87D4 #FFEE87 #87FFB2 #8798FF
square
#FF87D4 #FFEE87 #87FFB2 #8798FF
split-complementary
#FF87D4 #98FF87 #87FFEE
monochromatic
#FF0DA8 #FF4ABE #FF87D4 #FFC4EA #FFE0F4

Accessibility & contrast

On white

2.17
#FF87D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#FF87D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87D4
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87D4#FFFFFF#000000##000000
##FF87D41.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA4D7
Deuteranopia (green-blind)
#AEB7D1
Tritanopia (blue-blind)
#FF88A4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ff87d4;
/* rgb */ color: rgb(255, 135, 212);
/* oklch */ color: oklch(77.9% 0.170 342.6);
Tailwind
colors: {
  custom: {
    50: '#ffade1',
    500: '#ff87d4',
    950: '#000000',
  },
}
SCSS
$custom: #ff87d4;
$custom-light: #ffade1;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87d4",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 321.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77877,
    "c": 0.16979,
    "h": 342.6
  },
  "luminance": 0.43341
}

Semantic roles & 50–950 ramp

primary
#FF87D4
secondary
#D4F7E0
accent
#E65200
background
#FFFAFD
surface
#FFF5FB
border
#D7CFD4
text
#181015
muted
#867F83

Preview Lab

Preview with #FF87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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