#FB71E5#FB71E5

#FB71E5 is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.2% C 0.213 H 334.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#FB71E5
RGBrgb(251, 113, 229)
HSLhsl(310, 95%, 71%)
HSVhsv(310, 55%, 98%)
CMYKcmyk(0%, 55%, 8.8%, 1.6%)
CIE-LABlab(68.01, 66.42, -34.34)
CIE-LCHlch(68.01, 74.77, 332.66°)
OKLaboklab(75.17% 0.1917 -0.0934)
OKLCHoklch(75.17% 0.213 334)
XYZxyz(59.8318, 37.9809, 78.2933)
Luminance0.3798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71E5 #71FB87
analogous
#CC71FB #FB71E5 #FB71A0
triadic
#FB71E5 #E5FB71 #71E5FB
tetradic
#FB71E5 #FBCC71 #71FB87 #71A0FB
square
#FB71E5 #FBCC71 #71FB87 #71A0FB
split-complementary
#FB71E5 #A0FB71 #71FBCC
monochromatic
#EB07C7 #F935DA #FB71E5 #FDADF0 #FEE1FA

Accessibility & contrast

On white

2.44
#FB71E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#FB71E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71E5
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71E5#FFFFFF#000000##000000
##FB71E51.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F99E9
Deuteranopia (green-blind)
#99ADE1
Tritanopia (blue-blind)
#FF7AA1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb71e5;
/* rgb */ color: rgb(251, 113, 229);
/* oklch */ color: oklch(75.2% 0.213 334.0);
Tailwind
colors: {
  custom: {
    50: '#ffa0ed',
    500: '#fb71e5',
    950: '#000000',
  },
}
SCSS
$custom: #fb71e5;
$custom-light: #ffa0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71e5",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 309.565,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75168,
    "c": 0.21324,
    "h": 334
  },
  "luminance": 0.37977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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