#FB87E4#FB87E4

#FB87E4 is a light, vivid pink. Relative luminance 0.434; OKLCH L 78.0% C 0.178 H 335.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#FB87E4
RGBrgb(251, 135, 228)
HSLhsl(312, 94%, 76%)
HSVhsv(312, 46%, 98%)
CMYKcmyk(0%, 46.2%, 9.2%, 1.6%)
CIE-LABlab(71.85, 56.00, -27.85)
CIE-LCHlch(71.85, 62.54, 333.56°)
OKLaboklab(78.01% 0.1617 -0.0752)
OKLCHoklch(78.01% 0.178 335.1)
XYZxyz(62.4512, 43.4425, 78.4796)
Luminance0.4344 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87E4 #87FB9E
analogous
#D887FB #FB87E4 #FB87AA
triadic
#FB87E4 #E4FB87 #87E4FB
tetradic
#FB87E4 #FBD887 #87FB9E #87AAFB
square
#FB87E4 #FBD887 #87FB9E #87AAFB
split-complementary
#FB87E4 #AAFB87 #87FBD8
monochromatic
#F711C9 #F94CD7 #FB87E4 #FDC2F1 #FEE1F8

Accessibility & contrast

On white

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

On black

9.69
#FB87E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87E4
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87E4#FFFFFF#000000##000000
##FB87E41.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A5E7
Deuteranopia (green-blind)
#A7B6E1
Tritanopia (blue-blind)
#FF8DAB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb87e4;
/* rgb */ color: rgb(251, 135, 228);
/* oklch */ color: oklch(78.0% 0.178 335.1);
Tailwind
colors: {
  custom: {
    50: '#ffadec',
    500: '#fb87e4',
    950: '#000000',
  },
}
SCSS
$custom: #fb87e4;
$custom-light: #ffadec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87e4",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 311.897,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78008,
    "c": 0.17832,
    "h": 335.1
  },
  "luminance": 0.43439
}

Semantic roles & 50–950 ramp

primary
#FB87E4
secondary
#D5F6DB
accent
#E62E00
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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