#FB71F2#FB71F2

#FB71F2 is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 75.8% C 0.223 H 330.1°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#FB71F2
RGBrgb(251, 113, 242)
HSLhsl(304, 95%, 71%)
HSVhsv(304, 55%, 98%)
CMYKcmyk(0%, 55%, 3.6%, 1.6%)
CIE-LABlab(68.56, 68.49, -40.66)
CIE-LCHlch(68.56, 79.65, 329.31°)
OKLaboklab(75.75% 0.1936 -0.1114)
OKLCHoklch(75.75% 0.223 330.1)
XYZxyz(61.7153, 38.7343, 88.2131)
Luminance0.3873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71F2 #71FB7A
analogous
#BF71FB #FB71F2 #FB71AD
triadic
#FB71F2 #F2FB71 #71F2FB
tetradic
#FB71F2 #FBBF71 #71FB7A #71ADFB
square
#FB71F2 #FBBF71 #71FB7A #71ADFB
split-complementary
#FB71F2 #ADFB71 #71FBBF
monochromatic
#EB07DC #F935ED #FB71F2 #FDADF7 #FEE1FC

Accessibility & contrast

On white

2.40
#FB71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#FB71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71F2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71F2#FFFFFF#000000##000000
##FB71F21.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#94AEEE
Tritanopia (blue-blind)
#FF7EA7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb71f2;
/* rgb */ color: rgb(251, 113, 242);
/* oklch */ color: oklch(75.8% 0.223 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffa0f6',
    500: '#fb71f2',
    950: '#000000',
  },
}
SCSS
$custom: #fb71f2;
$custom-light: #ffa0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71f2",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 303.913,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75754,
    "c": 0.22341,
    "h": 330.1
  },
  "luminance": 0.3873
}

Semantic roles & 50–950 ramp

primary
#FB71F2
secondary
#D2F6D4
accent
#E60F00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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