#FB5F9E#FB5F9E

#FB5F9E is a light, vivid pink. Relative luminance 0.312; OKLCH L 70.4% C 0.198 H 358.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#FB5F9E
RGBrgb(251, 95, 158)
HSLhsl(336, 95%, 68%)
HSVhsv(336, 62%, 98%)
CMYKcmyk(0%, 62.2%, 37.1%, 1.6%)
CIE-LABlab(62.65, 64.76, -2.34)
CIE-LCHlch(62.65, 64.80, 357.93°)
OKLaboklab(70.38% 0.1979 -0.0053)
OKLCHoklch(70.38% 0.198 358.5)
XYZxyz(50.0505, 31.1679, 35.7214)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5F9E #5FFBBC
analogous
#FB5FEC #FB5F9E #FB6E5F
triadic
#FB5F9E #9EFB5F #5F9EFB
tetradic
#FB5F9E #ECFB5F #5FFBBC #6E5FFB
square
#FB5F9E #ECFB5F #5FFBBC #6E5FFB
split-complementary
#FB5F9E #5FFB6E #5FECFB
monochromatic
#DA055B #FA237A #FB5F9E #FC9BC2 #FED6E6

Accessibility & contrast

On white

2.90
#FB5F9E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#FB5F9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5F9E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5F9E#FFFFFF#000000##000000
##FB5F9E1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B85A0
Deuteranopia (green-blind)
#A5A29A
Tritanopia (blue-blind)
#FF5178
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #fb5f9e;
/* rgb */ color: rgb(251, 95, 158);
/* oklch */ color: oklch(70.4% 0.198 358.5);
Tailwind
colors: {
  custom: {
    50: '#ff94ba',
    500: '#fb5f9e',
    950: '#000000',
  },
}
SCSS
$custom: #fb5f9e;
$custom-light: #ff94ba;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5f9e",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 158
  },
  "hsl": {
    "h": 335.769,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70385,
    "c": 0.19796,
    "h": 358.5
  },
  "luminance": 0.31162
}

Semantic roles & 50–950 ramp

primary
#FB5F9E
secondary
#C3F3E0
accent
#E68900
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#190E11
muted
#877E80

Preview Lab

Preview with #FB5F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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