#FB71DC#FB71DC

#FB71DC is a light, highly saturated pink. Relative luminance 0.375; OKLCH L 74.8% C 0.207 H 337.0°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#FB71DC
RGBrgb(251, 113, 220)
HSLhsl(313, 95%, 71%)
HSVhsv(313, 55%, 98%)
CMYKcmyk(0%, 55%, 12.4%, 1.6%)
CIE-LABlab(67.64, 65.04, -29.90)
CIE-LCHlch(67.64, 71.59, 335.31°)
OKLaboklab(74.78% 0.1901 -0.0808)
OKLCHoklch(74.78% 0.207 337)
XYZxyz(58.6076, 37.4912, 71.8460)
Luminance0.3749 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB71DC #71FB90
analogous
#D571FB #FB71DC #FB7197
triadic
#FB71DC #DCFB71 #71DCFB
tetradic
#FB71DC #FBD571 #71FB90 #7197FB
square
#FB71DC #FBD571 #71FB90 #7197FB
split-complementary
#FB71DC #97FB71 #71FBD5
monochromatic
#EB07B8 #F935CD #FB71DC #FDADEB #FEE1F8

Accessibility & contrast

On white

2.47
#FB71DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#FB71DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB71DC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB71DC#FFFFFF#000000##000000
##FB71DC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DF
Deuteranopia (green-blind)
#9CACD8
Tritanopia (blue-blind)
#FF779D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb71dc;
/* rgb */ color: rgb(251, 113, 220);
/* oklch */ color: oklch(74.8% 0.207 337.0);
Tailwind
colors: {
  custom: {
    50: '#ffa0e7',
    500: '#fb71dc',
    950: '#000000',
  },
}
SCSS
$custom: #fb71dc;
$custom-light: #ffa0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb71dc",
  "rgb": {
    "r": 251,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 313.478,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74782,
    "c": 0.20656,
    "h": 337
  },
  "luminance": 0.37487
}

Semantic roles & 50–950 ramp

primary
#FB71DC
secondary
#D2F6DA
accent
#E63400
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #FB71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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