#FE87E4#FE87E4

#FE87E4 is a light, vivid pink. Relative luminance 0.440; OKLCH L 78.4% C 0.181 H 336.0°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#FE87E4
RGBrgb(254, 135, 228)
HSLhsl(313, 98%, 76%)
HSVhsv(313, 47%, 100%)
CMYKcmyk(0%, 46.9%, 10.2%, 0.4%)
CIE-LABlab(72.23, 56.89, -27.24)
CIE-LCHlch(72.23, 63.07, 334.42°)
OKLaboklab(78.37% 0.1649 -0.0735)
OKLCHoklch(78.37% 0.181 336)
XYZxyz(63.5408, 44.0043, 78.5307)
Luminance0.4400 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87E4 #87FEA1
analogous
#DD87FE #FE87E4 #FE87A9
triadic
#FE87E4 #E4FE87 #87E4FE
tetradic
#FE87E4 #FEDD87 #87FEA1 #87A9FE
square
#FE87E4 #FEDD87 #87FEA1 #87A9FE
split-complementary
#FE87E4 #A9FE87 #87FEDD
monochromatic
#FD0EC9 #FD4AD6 #FE87E4 #FFC4F2 #FFE1F8

Accessibility & contrast

On white

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

On black

9.80
#FE87E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87E4
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87E4#FFFFFF#000000##000000
##FE87E41.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fe87e4;
/* rgb */ color: rgb(254, 135, 228);
/* oklch */ color: oklch(78.4% 0.181 336.0);
Tailwind
colors: {
  custom: {
    50: '#ffadec',
    500: '#fe87e4',
    950: '#000000',
  },
}
SCSS
$custom: #fe87e4;
$custom-light: #ffadec;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87e4",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 313.109,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78369,
    "c": 0.18053,
    "h": 336
  },
  "luminance": 0.44
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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