#F871BD#F871BD

#F871BD is a light, vivid pink. Relative luminance 0.354; OKLCH L 73.2% C 0.184 H 347.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#F871BD
RGBrgb(248, 113, 189)
HSLhsl(326, 91%, 71%)
HSVhsv(326, 54%, 97%)
CMYKcmyk(0%, 54.4%, 23.8%, 2.7%)
CIE-LABlab(66.09, 59.76, -14.93)
CIE-LCHlch(66.09, 61.60, 345.97°)
OKLaboklab(73.18% 0.1799 -0.0392)
OKLCHoklch(73.18% 0.184 347.7)
XYZxyz(53.8036, 35.4456, 52.1423)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871BD #71F8AC
analogous
#EF71F8 #F871BD #F87179
triadic
#F871BD #BDF871 #71BDF8
tetradic
#F871BD #F8EF71 #71F8AC #7179F8
square
#F871BD #F8EF71 #71F8AC #7179F8
split-complementary
#F871BD #79F871 #71F8EF
monochromatic
#E30B85 #F537A2 #F871BD #FBABD8 #FEE2F1

Accessibility & contrast

On white

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

On black

8.09
#F871BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871BD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871BD#FFFFFF#000000##000000
##F871BD1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BF
Deuteranopia (green-blind)
#A4A9BA
Tritanopia (blue-blind)
#FF6E8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f871bd;
/* rgb */ color: rgb(248, 113, 189);
/* oklch */ color: oklch(73.2% 0.184 347.7);
Tailwind
colors: {
  custom: {
    50: '#fe9fd1',
    500: '#f871bd',
    950: '#000000',
  },
}
SCSS
$custom: #f871bd;
$custom-light: #fe9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#f871bd",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 326.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73177,
    "c": 0.18408,
    "h": 347.7
  },
  "luminance": 0.35441
}

Semantic roles & 50–950 ramp

primary
#F871BD
secondary
#D0F5E0
accent
#E66400
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F871BD

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

Preview Lab → · Contrast checker → · Palette generator →

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