#F871BB#F871BB

#F871BB is a light, vivid pink. Relative luminance 0.354; OKLCH L 73.1% C 0.183 H 348.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#F871BB
RGBrgb(248, 113, 187)
HSLhsl(327, 91%, 71%)
HSVhsv(327, 54%, 97%)
CMYKcmyk(0%, 54.4%, 24.6%, 2.7%)
CIE-LABlab(66.03, 59.49, -13.90)
CIE-LCHlch(66.03, 61.10, 346.85°)
OKLaboklab(73.11% 0.1793 -0.0364)
OKLCHoklch(73.11% 0.183 348.5)
XYZxyz(53.5880, 35.3594, 51.0068)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871BB #71F8AE
analogous
#F171F8 #F871BB #F87177
triadic
#F871BB #BBF871 #71BBF8
tetradic
#F871BB #F8F171 #71F8AE #7177F8
square
#F871BB #F8F171 #71F8AE #7177F8
split-complementary
#F871BB #77F871 #71F8F1
monochromatic
#E30B82 #F5379F #F871BB #FBABD7 #FEE2F1

Accessibility & contrast

On white

2.60
#F871BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#F871BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871BB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871BB#FFFFFF#000000##000000
##F871BB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BD
Deuteranopia (green-blind)
#A4A9B8
Tritanopia (blue-blind)
#FF6D8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f871bb;
/* rgb */ color: rgb(248, 113, 187);
/* oklch */ color: oklch(73.1% 0.183 348.5);
Tailwind
colors: {
  custom: {
    50: '#fe9fcf',
    500: '#f871bb',
    950: '#000000',
  },
}
SCSS
$custom: #f871bb;
$custom-light: #fe9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f871bb",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 327.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73106,
    "c": 0.18297,
    "h": 348.5
  },
  "luminance": 0.35355
}

Semantic roles & 50–950 ramp

primary
#F871BB
secondary
#D0F5E1
accent
#E66800
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F13
muted
#867F82

Preview Lab

Preview with #F871BB

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

Preview Lab → · Contrast checker → · Palette generator →

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