#FB71D5#FB71D5

#FB71D5 is a light, highly saturated pink. Relative luminance 0.371; OKLCH L 74.5% C 0.202 H 339.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#FB71D5
RGBrgb(251, 113, 213)
HSLhsl(317, 95%, 71%)
HSVhsv(317, 55%, 98%)
CMYKcmyk(0%, 55%, 15.1%, 1.6%)
CIE-LABlab(67.37, 64.00, -26.42)
CIE-LCHlch(67.37, 69.24, 337.57°)
OKLaboklab(74.49% 0.1887 -0.071)
OKLCHoklch(74.49% 0.202 339.4)
XYZxyz(57.6999, 37.1282, 67.0654)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71D5 #71FB97
analogous
#DC71FB #FB71D5 #FB7190
triadic
#FB71D5 #D5FB71 #71D5FB
tetradic
#FB71D5 #FBDC71 #71FB97 #7190FB
square
#FB71D5 #FBDC71 #71FB97 #7190FB
split-complementary
#FB71D5 #90FB71 #71FBDC
monochromatic
#EB07AC #F935C3 #FB71D5 #FDADE7 #FEE1F6

Accessibility & contrast

On white

2.49
#FB71D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#FB71D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71D5
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71D5#FFFFFF#000000##000000
##FB71D51.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7796D8
Deuteranopia (green-blind)
#9FACD1
Tritanopia (blue-blind)
#FF759A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #fb71d5;
/* rgb */ color: rgb(251, 113, 213);
/* oklch */ color: oklch(74.5% 0.202 339.4);
Tailwind
colors: {
  custom: {
    50: '#ff9fe2',
    500: '#fb71d5',
    950: '#000000',
  },
}
SCSS
$custom: #fb71d5;
$custom-light: #ff9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71d5",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 316.522,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74493,
    "c": 0.20161,
    "h": 339.4
  },
  "luminance": 0.37124
}

Semantic roles & 50–950 ramp

primary
#FB71D5
secondary
#D2F6DC
accent
#E63F00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #FB71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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