#FB71E8#FB71E8

#FB71E8 is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.3% C 0.216 H 333.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#FB71E8
RGBrgb(251, 113, 232)
HSLhsl(308, 95%, 71%)
HSVhsv(308, 55%, 98%)
CMYKcmyk(0%, 55%, 7.6%, 1.6%)
CIE-LABlab(68.13, 66.89, -35.81)
CIE-LCHlch(68.13, 75.87, 331.84°)
OKLaboklab(75.3% 0.1922 -0.0976)
OKLCHoklch(75.3% 0.216 333.1)
XYZxyz(60.2543, 38.1499, 80.5184)
Luminance0.3815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71E8 #71FB84
analogous
#C971FB #FB71E8 #FB71A3
triadic
#FB71E8 #E8FB71 #71E8FB
tetradic
#FB71E8 #FBC971 #71FB84 #71A3FB
square
#FB71E8 #FBC971 #71FB84 #71A3FB
split-complementary
#FB71E8 #A3FB71 #71FBC9
monochromatic
#EB07CC #F935DE #FB71E8 #FDADF2 #FEE1FA

Accessibility & contrast

On white

2.43
#FB71E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#FB71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71E8
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71E8#FFFFFF#000000##000000
##FB71E81.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EC
Deuteranopia (green-blind)
#98ADE4
Tritanopia (blue-blind)
#FF7BA3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb71e8;
/* rgb */ color: rgb(251, 113, 232);
/* oklch */ color: oklch(75.3% 0.216 333.1);
Tailwind
colors: {
  custom: {
    50: '#ffa0ef',
    500: '#fb71e8',
    950: '#000000',
  },
}
SCSS
$custom: #fb71e8;
$custom-light: #ffa0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71e8",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 308.261,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.753,
    "c": 0.21553,
    "h": 333.1
  },
  "luminance": 0.38146
}

Semantic roles & 50–950 ramp

primary
#FB71E8
secondary
#D2F6D7
accent
#E62000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #FB71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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