#FB5FDD#FB5FDD

#FB5FDD is a light, highly saturated pink. Relative luminance 0.339; OKLCH L 72.8% C 0.233 H 336.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#FB5FDD
RGBrgb(251, 95, 221)
HSLhsl(312, 95%, 68%)
HSVhsv(312, 62%, 98%)
CMYKcmyk(0%, 62.2%, 12%, 1.6%)
CIE-LABlab(64.90, 72.77, -34.72)
CIE-LCHlch(64.90, 80.63, 334.50°)
OKLaboklab(72.78% 0.2126 -0.0943)
OKLCHoklch(72.78% 0.233 336.1)
XYZxyz(56.9277, 33.9188, 71.9413)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FDD #5FFB7D
analogous
#CB5FFB #FB5FDD #FB5F8F
triadic
#FB5FDD #DDFB5F #5FDDFB
tetradic
#FB5FDD #FBCB5F #5FFB7D #5F8FFB
square
#FB5FDD #FBCB5F #5FFB7D #5F8FFB
split-complementary
#FB5FDD #8FFB5F #5FFBCB
monochromatic
#DA05B1 #FA23D0 #FB5FDD #FC9BEA #FED6F6

Accessibility & contrast

On white

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

On black

7.78
#FB5FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FDD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FDD#FFFFFF#000000##000000
##FB5FDD1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE1
Deuteranopia (green-blind)
#92A6D9
Tritanopia (blue-blind)
#FF6896
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb5fdd;
/* rgb */ color: rgb(251, 95, 221);
/* oklch */ color: oklch(72.8% 0.233 336.1);
Tailwind
colors: {
  custom: {
    50: '#ff96e8',
    500: '#fb5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #fb5fdd;
$custom-light: #ff96e8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5fdd",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 311.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.23261,
    "h": 336.1
  },
  "luminance": 0.33914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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