#FB5F87#FB5F87

#FB5F87 is a light, vivid pink. Relative luminance 0.304; OKLCH L 69.7% C 0.192 H 7.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#FB5F87
RGBrgb(251, 95, 135)
HSLhsl(345, 95%, 68%)
HSVhsv(345, 62%, 98%)
CMYKcmyk(0%, 62.2%, 46.2%, 1.6%)
CIE-LABlab(62.04, 62.49, 10.07)
CIE-LCHlch(62.04, 63.30, 9.15°)
OKLaboklab(69.73% 0.1901 0.0263)
OKLCHoklch(69.73% 0.192 7.9)
XYZxyz(48.2527, 30.4488, 26.2532)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5F87 #5FFBD3
analogous
#FB5FD5 #FB5F87 #FB855F
triadic
#FB5F87 #87FB5F #5F87FB
tetradic
#FB5F87 #D5FB5F #5FFBD3 #855FFB
square
#FB5F87 #D5FB5F #5FFBD3 #855FFB
split-complementary
#FB5F87 #5FFB85 #5FD5FB
monochromatic
#DA053C #FA235A #FB5F87 #FC9BB4 #FED6E1

Accessibility & contrast

On white

2.96
#FB5F87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#FB5F87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5F87
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5F87#FFFFFF#000000##000000
##FB5F871.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#818288
Deuteranopia (green-blind)
#A9A183
Tritanopia (blue-blind)
#FF496E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #fb5f87;
/* rgb */ color: rgb(251, 95, 135);
/* oklch */ color: oklch(69.7% 0.192 7.9);
Tailwind
colors: {
  custom: {
    50: '#ff94a9',
    500: '#fb5f87',
    950: '#000000',
  },
}
SCSS
$custom: #fb5f87;
$custom-light: #ff94a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5f87",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 344.615,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69732,
    "c": 0.19189,
    "h": 7.9
  },
  "luminance": 0.30443
}

Semantic roles & 50–950 ramp

primary
#FB5F87
secondary
#C3F3E7
accent
#E6AB00
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#190E0F
muted
#877E7F

Preview Lab

Preview with #FB5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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