#F871AB#F871AB

#F871AB is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.6% C 0.175 H 355.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#F871AB
RGBrgb(248, 113, 171)
HSLhsl(334, 91%, 71%)
HSVhsv(334, 54%, 97%)
CMYKcmyk(0%, 54.4%, 31%, 2.7%)
CIE-LABlab(65.52, 57.46, -5.59)
CIE-LCHlch(65.52, 57.73, 354.45°)
OKLaboklab(72.56% 0.1746 -0.014)
OKLCHoklch(72.56% 0.175 355.4)
XYZxyz(51.9696, 34.7120, 42.4833)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871AB #71F8BE
analogous
#F871EF #F871AB #F87A71
triadic
#F871AB #ABF871 #71ABF8
tetradic
#F871AB #EFF871 #71F8BE #7A71F8
square
#F871AB #EFF871 #71F8BE #7A71F8
split-complementary
#F871AB #71F87A #71EFF8
monochromatic
#E30B68 #F53788 #F871AB #FBABCE #FEE2EE

Accessibility & contrast

On white

2.64
#F871AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#F871AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871AB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871AB#FFFFFF#000000##000000
##F871AB1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8590AD
Deuteranopia (green-blind)
#A8A8A8
Tritanopia (blue-blind)
#FF6987
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f871ab;
/* rgb */ color: rgb(248, 113, 171);
/* oklch */ color: oklch(72.6% 0.175 355.4);
Tailwind
colors: {
  custom: {
    50: '#fe9fc4',
    500: '#f871ab',
    950: '#000000',
  },
}
SCSS
$custom: #f871ab;
$custom-light: #fe9fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f871ab",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 334.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72564,
    "c": 0.17516,
    "h": 355.4
  },
  "luminance": 0.34707
}

Semantic roles & 50–950 ramp

primary
#F871AB
secondary
#D0F5E5
accent
#E68300
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F871AB

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

Preview Lab → · Contrast checker → · Palette generator →

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