#FB71D7#FB71D7

#FB71D7 is a light, highly saturated pink. Relative luminance 0.372; OKLCH L 74.6% C 0.203 H 338.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#FB71D7
RGBrgb(251, 113, 215)
HSLhsl(316, 95%, 71%)
HSVhsv(316, 55%, 98%)
CMYKcmyk(0%, 55%, 14.3%, 1.6%)
CIE-LABlab(67.45, 64.29, -27.42)
CIE-LCHlch(67.45, 69.90, 336.90°)
OKLaboklab(74.57% 0.1891 -0.0738)
OKLCHoklch(74.57% 0.203 338.7)
XYZxyz(57.9553, 37.2303, 68.4106)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71D7 #71FB95
analogous
#DA71FB #FB71D7 #FB7192
triadic
#FB71D7 #D7FB71 #71D7FB
tetradic
#FB71D7 #FBDA71 #71FB95 #7192FB
square
#FB71D7 #FBDA71 #71FB95 #7192FB
split-complementary
#FB71D7 #92FB71 #71FBDA
monochromatic
#EB07AF #F935C6 #FB71D7 #FDADE8 #FEE1F7

Accessibility & contrast

On white

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

On black

8.45
#FB71D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71D7
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71D7#FFFFFF#000000##000000
##FB71D71.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DA
Deuteranopia (green-blind)
#9EACD3
Tritanopia (blue-blind)
#FF759A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #fb71d7;
/* rgb */ color: rgb(251, 113, 215);
/* oklch */ color: oklch(74.6% 0.203 338.7);
Tailwind
colors: {
  custom: {
    50: '#ff9fe3',
    500: '#fb71d7',
    950: '#000000',
  },
}
SCSS
$custom: #fb71d7;
$custom-light: #ff9fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71d7",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 315.652,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74574,
    "c": 0.203,
    "h": 338.7
  },
  "luminance": 0.37226
}

Semantic roles & 50–950 ramp

primary
#FB71D7
secondary
#D2F6DB
accent
#E63C00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #FB71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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