#FF87E2#FF87E2

#FF87E2 is a light, vivid pink. Relative luminance 0.441; OKLCH L 78.4% C 0.180 H 337.0°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#FF87E2
RGBrgb(255, 135, 226)
HSLhsl(315, 100%, 76%)
HSVhsv(315, 47%, 100%)
CMYKcmyk(0%, 47.1%, 11.4%, 0%)
CIE-LABlab(72.28, 56.87, -26.04)
CIE-LCHlch(72.28, 62.55, 335.39°)
OKLaboklab(78.41% 0.1655 -0.0701)
OKLCHoklch(78.41% 0.18 337)
XYZxyz(63.6317, 44.0832, 77.0941)
Luminance0.4408 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87E2 #87FFA4
analogous
#E087FF #FF87E2 #FF87A6
triadic
#FF87E2 #E2FF87 #87E2FF
tetradic
#FF87E2 #FFE087 #87FFA4 #87A6FF
square
#FF87E2 #FFE087 #87FFA4 #87A6FF
split-complementary
#FF87E2 #A6FF87 #87FFE0
monochromatic
#FF0DC4 #FF4AD3 #FF87E2 #FFC4F1 #FFE0F8

Accessibility & contrast

On white

2.14
#FF87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#FF87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87E2
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87E2#FFFFFF#000000##000000
##FF87E21.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#AAB8DF
Tritanopia (blue-blind)
#FF8BAA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ff87e2;
/* rgb */ color: rgb(255, 135, 226);
/* oklch */ color: oklch(78.4% 0.180 337.0);
Tailwind
colors: {
  custom: {
    50: '#ffadeb',
    500: '#ff87e2',
    950: '#000000',
  },
}
SCSS
$custom: #ff87e2;
$custom-light: #ffadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87e2",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 314.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7841,
    "c": 0.17975,
    "h": 337
  },
  "luminance": 0.44079
}

Semantic roles & 50–950 ramp

primary
#FF87E2
secondary
#D4F7DC
accent
#E63700
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FF87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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