#FB87D3#FB87D3

#FB87D3 is a light, vivid pink. Relative luminance 0.425; OKLCH L 77.4% C 0.166 H 341.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#FB87D3
RGBrgb(251, 135, 211)
HSLhsl(321, 94%, 76%)
HSVhsv(321, 46%, 98%)
CMYKcmyk(0%, 46.2%, 15.9%, 1.6%)
CIE-LABlab(71.24, 53.35, -19.40)
CIE-LCHlch(71.24, 56.77, 340.02°)
OKLaboklab(77.35% 0.1575 -0.0516)
OKLCHoklch(77.35% 0.166 341.8)
XYZxyz(60.2063, 42.5446, 66.6563)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87D3 #87FBAF
analogous
#E987FB #FB87D3 #FB8799
triadic
#FB87D3 #D3FB87 #87D3FB
tetradic
#FB87D3 #FBE987 #87FBAF #8799FB
square
#FB87D3 #FBE987 #87FBAF #8799FB
split-complementary
#FB87D3 #99FB87 #87FBE9
monochromatic
#F711A8 #F94CBD #FB87D3 #FDC2E9 #FEE1F4

Accessibility & contrast

On white

2.21
#FB87D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#FB87D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87D3
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87D3#FFFFFF#000000##000000
##FB87D31.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA3D6
Deuteranopia (green-blind)
#ACB5D0
Tritanopia (blue-blind)
#FF88A4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb87d3;
/* rgb */ color: rgb(251, 135, 211);
/* oklch */ color: oklch(77.4% 0.166 341.8);
Tailwind
colors: {
  custom: {
    50: '#ffade0',
    500: '#fb87d3',
    950: '#000000',
  },
}
SCSS
$custom: #fb87d3;
$custom-light: #ffade0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87d3",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 320.69,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77352,
    "c": 0.16578,
    "h": 341.8
  },
  "luminance": 0.4254
}

Semantic roles & 50–950 ramp

primary
#FB87D3
secondary
#D5F6E0
accent
#E64F00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #FB87D3

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

Preview Lab → · Contrast checker → · Palette generator →

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