#F871BA#F871BA

#F871BA is a light, vivid pink. Relative luminance 0.353; OKLCH L 73.1% C 0.182 H 348.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#F871BA
RGBrgb(248, 113, 186)
HSLhsl(328, 91%, 71%)
HSVhsv(328, 54%, 97%)
CMYKcmyk(0%, 54.4%, 25%, 2.7%)
CIE-LABlab(65.99, 59.36, -13.39)
CIE-LCHlch(65.99, 60.85, 347.29°)
OKLaboklab(73.07% 0.179 -0.035)
OKLCHoklch(73.07% 0.182 348.9)
XYZxyz(53.4813, 35.3167, 50.4450)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871BA #71F8AF
analogous
#F371F8 #F871BA #F87176
triadic
#F871BA #BAF871 #71BAF8
tetradic
#F871BA #F8F371 #71F8AF #7176F8
square
#F871BA #F8F371 #71F8AF #7176F8
split-complementary
#F871BA #76F871 #71F8F3
monochromatic
#E30B80 #F5379E #F871BA #FBABD6 #FEE2F1

Accessibility & contrast

On white

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

On black

8.06
#F871BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871BA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871BA#FFFFFF#000000##000000
##F871BA1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BC
Deuteranopia (green-blind)
#A5A9B7
Tritanopia (blue-blind)
#FF6D8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f871ba;
/* rgb */ color: rgb(248, 113, 186);
/* oklch */ color: oklch(73.1% 0.182 348.9);
Tailwind
colors: {
  custom: {
    50: '#fe9fce',
    500: '#f871ba',
    950: '#000000',
  },
}
SCSS
$custom: #f871ba;
$custom-light: #fe9fce;
$custom-dark: #000000;
JSON
{
  "hex": "#f871ba",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 327.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7307,
    "c": 0.18242,
    "h": 348.9
  },
  "luminance": 0.35312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F871BA

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

Preview Lab → · Contrast checker → · Palette generator →

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