#FB71E2#FB71E2

#FB71E2 is a light, highly saturated pink. Relative luminance 0.378; OKLCH L 75.0% C 0.211 H 335.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#FB71E2
RGBrgb(251, 113, 226)
HSLhsl(311, 95%, 71%)
HSVhsv(311, 55%, 98%)
CMYKcmyk(0%, 55%, 10%, 1.6%)
CIE-LABlab(67.88, 65.95, -32.87)
CIE-LCHlch(67.88, 73.69, 333.51°)
OKLaboklab(75.04% 0.1912 -0.0892)
OKLCHoklch(75.04% 0.211 335)
XYZxyz(59.4165, 37.8148, 76.1063)
Luminance0.3781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71E2 #71FB8A
analogous
#CF71FB #FB71E2 #FB719D
triadic
#FB71E2 #E2FB71 #71E2FB
tetradic
#FB71E2 #FBCF71 #71FB8A #719DFB
square
#FB71E2 #FBCF71 #71FB8A #719DFB
split-complementary
#FB71E2 #9DFB71 #71FBCF
monochromatic
#EB07C2 #F935D6 #FB71E2 #FDADEE #FEE1F9

Accessibility & contrast

On white

2.45
#FB71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#FB71E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71E2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71E2#FFFFFF#000000##000000
##FB71E21.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E6
Deuteranopia (green-blind)
#9AADDE
Tritanopia (blue-blind)
#FF79A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb71e2;
/* rgb */ color: rgb(251, 113, 226);
/* oklch */ color: oklch(75.0% 0.211 335.0);
Tailwind
colors: {
  custom: {
    50: '#ffa0eb',
    500: '#fb71e2',
    950: '#000000',
  },
}
SCSS
$custom: #fb71e2;
$custom-light: #ffa0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71e2",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 310.87,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75037,
    "c": 0.21098,
    "h": 335
  },
  "luminance": 0.3781
}

Semantic roles & 50–950 ramp

primary
#FB71E2
secondary
#D2F6D8
accent
#E62A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #FB71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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