#FB87DC#FB87DC

#FB87DC is a light, vivid pink. Relative luminance 0.430; OKLCH L 77.7% C 0.172 H 338.1°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#FB87DC
RGBrgb(251, 135, 220)
HSLhsl(316, 94%, 76%)
HSVhsv(316, 46%, 98%)
CMYKcmyk(0%, 46.2%, 12.4%, 1.6%)
CIE-LABlab(71.56, 54.73, -23.89)
CIE-LCHlch(71.56, 59.72, 336.42°)
OKLaboklab(77.69% 0.1598 -0.0641)
OKLCHoklch(77.69% 0.172 338.1)
XYZxyz(61.3663, 43.0086, 72.7656)
Luminance0.4300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87DC #87FBA6
analogous
#E087FB #FB87DC #FB87A2
triadic
#FB87DC #DCFB87 #87DCFB
tetradic
#FB87DC #FBE087 #87FBA6 #87A2FB
square
#FB87DC #FBE087 #87FBA6 #87A2FB
split-complementary
#FB87DC #A2FB87 #87FBE0
monochromatic
#F711B9 #F94CCB #FB87DC #FDC2ED #FEE1F6

Accessibility & contrast

On white

2.19
#FB87DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#FB87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87DC
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87DC#FFFFFF#000000##000000
##FB87DC1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#AAB6D9
Tritanopia (blue-blind)
#FF8AA8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb87dc;
/* rgb */ color: rgb(251, 135, 220);
/* oklch */ color: oklch(77.7% 0.172 338.1);
Tailwind
colors: {
  custom: {
    50: '#ffade7',
    500: '#fb87dc',
    950: '#000000',
  },
}
SCSS
$custom: #fb87dc;
$custom-light: #ffade7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87dc",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 316.034,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77692,
    "c": 0.1722,
    "h": 338.1
  },
  "luminance": 0.43004
}

Semantic roles & 50–950 ramp

primary
#FB87DC
secondary
#D5F6DE
accent
#E63D00
background
#FFFAFE
surface
#FFF5FC
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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