#FB5FDC#FB5FDC

#FB5FDC is a light, highly saturated pink. Relative luminance 0.339; OKLCH L 72.7% C 0.232 H 336.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#FB5FDC
RGBrgb(251, 95, 220)
HSLhsl(312, 95%, 68%)
HSVhsv(312, 62%, 98%)
CMYKcmyk(0%, 62.2%, 12.4%, 1.6%)
CIE-LABlab(64.86, 72.62, -34.22)
CIE-LCHlch(64.86, 80.28, 334.77°)
OKLaboklab(72.73% 0.2125 -0.0929)
OKLCHoklch(72.73% 0.232 336.4)
XYZxyz(56.7948, 33.8657, 71.2417)
Luminance0.3386 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FDC #5FFB7E
analogous
#CC5FFB #FB5FDC #FB5F8E
triadic
#FB5FDC #DCFB5F #5FDCFB
tetradic
#FB5FDC #FBCC5F #5FFB7E #5F8EFB
square
#FB5FDC #FBCC5F #5FFB7E #5F8EFB
split-complementary
#FB5FDC #8EFB5F #5FFBCC
monochromatic
#DA05B0 #FA23CF #FB5FDC #FC9BE9 #FED6F6

Accessibility & contrast

On white

2.70
#FB5FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#FB5FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FDC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FDC#FFFFFF#000000##000000
##FB5FDC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#FF6795
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb5fdc;
/* rgb */ color: rgb(251, 95, 220);
/* oklch */ color: oklch(72.7% 0.232 336.4);
Tailwind
colors: {
  custom: {
    50: '#ff96e7',
    500: '#fb5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #fb5fdc;
$custom-light: #ff96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5fdc",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 311.923,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72734,
    "c": 0.23191,
    "h": 336.4
  },
  "luminance": 0.33861
}

Semantic roles & 50–950 ramp

primary
#FB5FDC
secondary
#C3F3CC
accent
#E62E00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #FB5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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