#FB5FD7#FB5FD7

#FB5FD7 is a light, highly saturated pink. Relative luminance 0.336; OKLCH L 72.5% C 0.228 H 337.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#FB5FD7
RGBrgb(251, 95, 215)
HSLhsl(314, 95%, 68%)
HSVhsv(314, 62%, 98%)
CMYKcmyk(0%, 62.2%, 14.3%, 1.6%)
CIE-LABlab(64.65, 71.90, -31.74)
CIE-LCHlch(64.65, 78.60, 336.18°)
OKLaboklab(72.51% 0.2117 -0.0859)
OKLCHoklch(72.51% 0.228 337.9)
XYZxyz(56.1425, 33.6047, 67.8063)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FD7 #5FFB83
analogous
#D15FFB #FB5FD7 #FB5F89
triadic
#FB5FD7 #D7FB5F #5FD7FB
tetradic
#FB5FD7 #FBD15F #5FFB83 #5F89FB
square
#FB5FD7 #FBD15F #5FFB83 #5F89FB
split-complementary
#FB5FD7 #89FB5F #5FFBD1
monochromatic
#DA05A9 #FA23C8 #FB5FD7 #FC9BE6 #FED6F5

Accessibility & contrast

On white

2.72
#FB5FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#FB5FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FD7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FD7#FFFFFF#000000##000000
##FB5FD71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#648DDB
Deuteranopia (green-blind)
#94A6D3
Tritanopia (blue-blind)
#FF6593
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb5fd7;
/* rgb */ color: rgb(251, 95, 215);
/* oklch */ color: oklch(72.5% 0.228 337.9);
Tailwind
colors: {
  custom: {
    50: '#ff95e3',
    500: '#fb5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #fb5fd7;
$custom-light: #ff95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5fd7",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 313.846,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72513,
    "c": 0.22847,
    "h": 337.9
  },
  "luminance": 0.336
}

Semantic roles & 50–950 ramp

primary
#FB5FD7
secondary
#C3F3CE
accent
#E63500
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #FB5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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