#FE87E2#FE87E2

#FE87E2 is a light, vivid pink. Relative luminance 0.439; OKLCH L 78.3% C 0.179 H 336.7°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#FE87E2
RGBrgb(254, 135, 226)
HSLhsl(314, 98%, 76%)
HSVhsv(314, 47%, 100%)
CMYKcmyk(0%, 46.9%, 11%, 0.4%)
CIE-LABlab(72.16, 56.57, -26.25)
CIE-LCHlch(72.16, 62.36, 335.11°)
OKLaboklab(78.29% 0.1645 -0.0707)
OKLCHoklch(78.29% 0.179 336.7)
XYZxyz(63.2647, 43.8939, 77.0769)
Luminance0.4389 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87E2 #87FEA3
analogous
#DF87FE #FE87E2 #FE87A7
triadic
#FE87E2 #E2FE87 #87E2FE
tetradic
#FE87E2 #FEDF87 #87FEA3 #87A7FE
square
#FE87E2 #FEDF87 #87FEA3 #87A7FE
split-complementary
#FE87E2 #A7FE87 #87FEDF
monochromatic
#FD0EC5 #FD4AD3 #FE87E2 #FFC4F1 #FFE1F8

Accessibility & contrast

On white

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

On black

9.78
#FE87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87E2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87E2#FFFFFF#000000##000000
##FE87E21.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fe87e2;
/* rgb */ color: rgb(254, 135, 226);
/* oklch */ color: oklch(78.3% 0.179 336.7);
Tailwind
colors: {
  custom: {
    50: '#ffadeb',
    500: '#fe87e2',
    950: '#000000',
  },
}
SCSS
$custom: #fe87e2;
$custom-light: #ffadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87e2",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 314.118,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78289,
    "c": 0.179,
    "h": 336.7
  },
  "luminance": 0.4389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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