#FB87D4#FB87D4

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

Color values

HEX#FB87D4
RGBrgb(251, 135, 212)
HSLhsl(320, 94%, 76%)
HSVhsv(320, 46%, 98%)
CMYKcmyk(0%, 46.2%, 15.5%, 1.6%)
CIE-LABlab(71.28, 53.50, -19.90)
CIE-LCHlch(71.28, 57.09, 339.60°)
OKLaboklab(77.39% 0.1578 -0.053)
OKLCHoklch(77.39% 0.166 341.4)
XYZxyz(60.3320, 42.5949, 67.3185)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87D4 #87FBAE
analogous
#E887FB #FB87D4 #FB879A
triadic
#FB87D4 #D4FB87 #87D4FB
tetradic
#FB87D4 #FBE887 #87FBAE #879AFB
square
#FB87D4 #FBE887 #87FBAE #879AFB
split-complementary
#FB87D4 #9AFB87 #87FBE8
monochromatic
#F711AA #F94CBF #FB87D4 #FDC2E9 #FEE1F4

Accessibility & contrast

On white

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

On black

9.52
#FB87D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87D4
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87D4#FFFFFF#000000##000000
##FB87D41.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb87d4;
/* rgb */ color: rgb(251, 135, 212);
/* oklch */ color: oklch(77.4% 0.166 341.4);
Tailwind
colors: {
  custom: {
    50: '#ffade1',
    500: '#fb87d4',
    950: '#000000',
  },
}
SCSS
$custom: #fb87d4;
$custom-light: #ffade1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87d4",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 320.172,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77389,
    "c": 0.16646,
    "h": 341.4
  },
  "luminance": 0.42591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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