#FB71E4#FB71E4

#FB71E4 is a light, highly saturated pink. Relative luminance 0.379; OKLCH L 75.1% C 0.212 H 334.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#FB71E4
RGBrgb(251, 113, 228)
HSLhsl(310, 95%, 71%)
HSVhsv(310, 55%, 98%)
CMYKcmyk(0%, 55%, 9.2%, 1.6%)
CIE-LABlab(67.97, 66.26, -33.85)
CIE-LCHlch(67.97, 74.41, 332.94°)
OKLaboklab(75.12% 0.1915 -0.092)
OKLCHoklch(75.12% 0.212 334.3)
XYZxyz(59.6926, 37.9252, 77.5601)
Luminance0.3792 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71E4 #71FB88
analogous
#CD71FB #FB71E4 #FB719F
triadic
#FB71E4 #E4FB71 #71E4FB
tetradic
#FB71E4 #FBCD71 #71FB88 #719FFB
square
#FB71E4 #FBCD71 #71FB88 #719FFB
split-complementary
#FB71E4 #9FFB71 #71FBCD
monochromatic
#EB07C5 #F935D9 #FB71E4 #FDADEF #FEE1F9

Accessibility & contrast

On white

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

On black

8.58
#FB71E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71E4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71E4#FFFFFF#000000##000000
##FB71E41.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E8
Deuteranopia (green-blind)
#99ADE0
Tritanopia (blue-blind)
#FF79A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb71e4;
/* rgb */ color: rgb(251, 113, 228);
/* oklch */ color: oklch(75.1% 0.212 334.3);
Tailwind
colors: {
  custom: {
    50: '#ffa0ed',
    500: '#fb71e4',
    950: '#000000',
  },
}
SCSS
$custom: #fb71e4;
$custom-light: #ffa0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71e4",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 310,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75124,
    "c": 0.21248,
    "h": 334.3
  },
  "luminance": 0.37921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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