#FB87E2#FB87E2

#FB87E2 is a light, vivid pink. Relative luminance 0.433; OKLCH L 77.9% C 0.177 H 335.8°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#FB87E2
RGBrgb(251, 135, 226)
HSLhsl(313, 94%, 76%)
HSVhsv(313, 46%, 98%)
CMYKcmyk(0%, 46.2%, 10%, 1.6%)
CIE-LABlab(71.78, 55.68, -26.86)
CIE-LCHlch(71.78, 61.82, 334.25°)
OKLaboklab(77.93% 0.1612 -0.0724)
OKLCHoklch(77.93% 0.177 335.8)
XYZxyz(62.1752, 43.3321, 77.0259)
Luminance0.4333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87E2 #87FBA0
analogous
#DA87FB #FB87E2 #FB87A8
triadic
#FB87E2 #E2FB87 #87E2FB
tetradic
#FB87E2 #FBDA87 #87FBA0 #87A8FB
square
#FB87E2 #FBDA87 #87FBA0 #87A8FB
split-complementary
#FB87E2 #A8FB87 #87FBDA
monochromatic
#F711C5 #F94CD4 #FB87E2 #FDC2F0 #FEE1F8

Accessibility & contrast

On white

2.17
#FB87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#FB87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87E2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87E2#FFFFFF#000000##000000
##FB87E21.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E5
Deuteranopia (green-blind)
#A8B6DF
Tritanopia (blue-blind)
#FF8CAA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb87e2;
/* rgb */ color: rgb(251, 135, 226);
/* oklch */ color: oklch(77.9% 0.177 335.8);
Tailwind
colors: {
  custom: {
    50: '#ffadeb',
    500: '#fb87e2',
    950: '#000000',
  },
}
SCSS
$custom: #fb87e2;
$custom-light: #ffadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87e2",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 312.931,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77928,
    "c": 0.17676,
    "h": 335.8
  },
  "luminance": 0.43328
}

Semantic roles & 50–950 ramp

primary
#FB87E2
secondary
#D5F6DC
accent
#E63100
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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