#FB71D2#FB71D2

#FB71D2 is a light, vivid pink. Relative luminance 0.370; OKLCH L 74.4% C 0.200 H 340.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#FB71D2
RGBrgb(251, 113, 210)
HSLhsl(318, 95%, 71%)
HSVhsv(318, 55%, 98%)
CMYKcmyk(0%, 55%, 16.3%, 1.6%)
CIE-LABlab(67.26, 63.56, -24.92)
CIE-LCHlch(67.26, 68.27, 338.59°)
OKLaboklab(74.37% 0.188 -0.0668)
OKLCHoklch(74.37% 0.2 340.4)
XYZxyz(57.3227, 36.9773, 65.0785)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71D2 #71FB9A
analogous
#DF71FB #FB71D2 #FB718D
triadic
#FB71D2 #D2FB71 #71D2FB
tetradic
#FB71D2 #FBDF71 #71FB9A #718DFB
square
#FB71D2 #FBDF71 #71FB9A #718DFB
split-complementary
#FB71D2 #8DFB71 #71FBDF
monochromatic
#EB07A7 #F935BF #FB71D2 #FDADE5 #FEE1F6

Accessibility & contrast

On white

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

On black

8.39
#FB71D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71D2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71D2#FFFFFF#000000##000000
##FB71D21.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D5
Deuteranopia (green-blind)
#A0ACCE
Tritanopia (blue-blind)
#FF7498
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #fb71d2;
/* rgb */ color: rgb(251, 113, 210);
/* oklch */ color: oklch(74.4% 0.200 340.4);
Tailwind
colors: {
  custom: {
    50: '#ff9fe0',
    500: '#fb71d2',
    950: '#000000',
  },
}
SCSS
$custom: #fb71d2;
$custom-light: #ff9fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71d2",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 317.826,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74372,
    "c": 0.19956,
    "h": 340.4
  },
  "luminance": 0.36973
}

Semantic roles & 50–950 ramp

primary
#FB71D2
secondary
#D2F6DD
accent
#E64400
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #FB71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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