#FB71D4#FB71D4

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

Color values

HEX#FB71D4
RGBrgb(251, 113, 212)
HSLhsl(317, 95%, 71%)
HSVhsv(317, 55%, 98%)
CMYKcmyk(0%, 55%, 15.5%, 1.6%)
CIE-LABlab(67.34, 63.85, -25.92)
CIE-LCHlch(67.34, 68.91, 337.91°)
OKLaboklab(74.45% 0.1885 -0.0696)
OKLCHoklch(74.45% 0.201 339.7)
XYZxyz(57.5734, 37.0775, 66.3990)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71D4 #71FB98
analogous
#DD71FB #FB71D4 #FB718F
triadic
#FB71D4 #D4FB71 #71D4FB
tetradic
#FB71D4 #FBDD71 #71FB98 #718FFB
square
#FB71D4 #FBDD71 #71FB98 #718FFB
split-complementary
#FB71D4 #8FFB71 #71FBDD
monochromatic
#EB07AA #F935C2 #FB71D4 #FDADE6 #FEE1F6

Accessibility & contrast

On white

2.50
#FB71D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#FB71D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71D4
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71D4#FFFFFF#000000##000000
##FB71D41.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7796D7
Deuteranopia (green-blind)
#9FACD0
Tritanopia (blue-blind)
#FF7499
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #fb71d4;
/* rgb */ color: rgb(251, 113, 212);
/* oklch */ color: oklch(74.5% 0.201 339.7);
Tailwind
colors: {
  custom: {
    50: '#ff9fe1',
    500: '#fb71d4',
    950: '#000000',
  },
}
SCSS
$custom: #fb71d4;
$custom-light: #ff9fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71d4",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 316.957,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74452,
    "c": 0.20092,
    "h": 339.7
  },
  "luminance": 0.37073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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