#F871BC#F871BC

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

Color values

HEX#F871BC
RGBrgb(248, 113, 188)
HSLhsl(327, 91%, 71%)
HSVhsv(327, 54%, 97%)
CMYKcmyk(0%, 54.4%, 24.2%, 2.7%)
CIE-LABlab(66.06, 59.63, -14.42)
CIE-LCHlch(66.06, 61.34, 346.41°)
OKLaboklab(73.14% 0.1796 -0.0378)
OKLCHoklch(73.14% 0.184 348.1)
XYZxyz(53.6954, 35.4023, 51.5726)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871BC #71F8AD
analogous
#F171F8 #F871BC #F87178
triadic
#F871BC #BCF871 #71BCF8
tetradic
#F871BC #F8F171 #71F8AD #7178F8
square
#F871BC #F8F171 #71F8AD #7178F8
split-complementary
#F871BC #78F871 #71F8F1
monochromatic
#E30B83 #F537A0 #F871BC #FBABD8 #FEE2F1

Accessibility & contrast

On white

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

On black

8.08
#F871BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871BC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871BC#FFFFFF#000000##000000
##F871BC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BE
Deuteranopia (green-blind)
#A4A9B9
Tritanopia (blue-blind)
#FF6D8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f871bc;
/* rgb */ color: rgb(248, 113, 188);
/* oklch */ color: oklch(73.1% 0.184 348.1);
Tailwind
colors: {
  custom: {
    50: '#fe9fd0',
    500: '#f871bc',
    950: '#000000',
  },
}
SCSS
$custom: #f871bc;
$custom-light: #fe9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#f871bc",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 326.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73141,
    "c": 0.18352,
    "h": 348.1
  },
  "luminance": 0.35398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F871BC

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

Preview Lab → · Contrast checker → · Palette generator →

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