#FB87DF#FB87DF

#FB87DF is a light, vivid pink. Relative luminance 0.432; OKLCH L 77.8% C 0.174 H 337.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#FB87DF
RGBrgb(251, 135, 223)
HSLhsl(314, 94%, 76%)
HSVhsv(314, 46%, 98%)
CMYKcmyk(0%, 46.2%, 11.2%, 1.6%)
CIE-LABlab(71.67, 55.20, -25.38)
CIE-LCHlch(71.67, 60.76, 335.31°)
OKLaboklab(77.81% 0.1605 -0.0683)
OKLCHoklch(77.81% 0.174 337)
XYZxyz(61.7672, 43.1689, 74.8768)
Luminance0.4316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87DF #87FBA3
analogous
#DD87FB #FB87DF #FB87A5
triadic
#FB87DF #DFFB87 #87DFFB
tetradic
#FB87DF #FBDD87 #87FBA3 #87A5FB
square
#FB87DF #FBDD87 #87FBA3 #87A5FB
split-complementary
#FB87DF #A5FB87 #87FBDD
monochromatic
#F711BF #F94CCF #FB87DF #FDC2EF #FEE1F7

Accessibility & contrast

On white

2.18
#FB87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#FB87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87DF
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87DF#FFFFFF#000000##000000
##FB87DF1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A5E2
Deuteranopia (green-blind)
#A9B6DC
Tritanopia (blue-blind)
#FF8BA9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb87df;
/* rgb */ color: rgb(251, 135, 223);
/* oklch */ color: oklch(77.8% 0.174 337.0);
Tailwind
colors: {
  custom: {
    50: '#ffade9',
    500: '#fb87df',
    950: '#000000',
  },
}
SCSS
$custom: #fb87df;
$custom-light: #ffade9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87df",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 314.483,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77809,
    "c": 0.17445,
    "h": 337
  },
  "luminance": 0.43165
}

Semantic roles & 50–950 ramp

primary
#FB87DF
secondary
#D5F6DD
accent
#E63700
background
#FFFAFE
surface
#FFF5FC
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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