#FB87D2#FB87D2

#FB87D2 is a light, vivid pink. Relative luminance 0.425; OKLCH L 77.3% C 0.165 H 342.3°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#FB87D2
RGBrgb(251, 135, 210)
HSLhsl(321, 94%, 76%)
HSVhsv(321, 46%, 98%)
CMYKcmyk(0%, 46.2%, 16.3%, 1.6%)
CIE-LABlab(71.21, 53.20, -18.90)
CIE-LCHlch(71.21, 56.46, 340.45°)
OKLaboklab(77.32% 0.1573 -0.0503)
OKLCHoklch(77.32% 0.165 342.3)
XYZxyz(60.0813, 42.4946, 65.9981)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87D2 #87FBB0
analogous
#EA87FB #FB87D2 #FB8798
triadic
#FB87D2 #D2FB87 #87D2FB
tetradic
#FB87D2 #FBEA87 #87FBB0 #8798FB
square
#FB87D2 #FBEA87 #87FBB0 #8798FB
split-complementary
#FB87D2 #98FB87 #87FBEA
monochromatic
#F711A6 #F94CBC #FB87D2 #FDC2E8 #FEE1F4

Accessibility & contrast

On white

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

On black

9.50
#FB87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87D2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87D2#FFFFFF#000000##000000
##FB87D21.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA3D5
Deuteranopia (green-blind)
#ADB5CF
Tritanopia (blue-blind)
#FF88A3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb87d2;
/* rgb */ color: rgb(251, 135, 210);
/* oklch */ color: oklch(77.3% 0.165 342.3);
Tailwind
colors: {
  custom: {
    50: '#ffade0',
    500: '#fb87d2',
    950: '#000000',
  },
}
SCSS
$custom: #fb87d2;
$custom-light: #ffade0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87d2",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 321.207,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77315,
    "c": 0.1651,
    "h": 342.3
  },
  "luminance": 0.4249
}

Semantic roles & 50–950 ramp

primary
#FB87D2
secondary
#D5F6E1
accent
#E65100
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #FB87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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