#F871C7#F871C7

#F871C7 is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.5% C 0.190 H 343.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F871C7
RGBrgb(248, 113, 199)
HSLhsl(322, 91%, 71%)
HSVhsv(322, 54%, 97%)
CMYKcmyk(0%, 54.4%, 19.8%, 2.7%)
CIE-LABlab(66.44, 61.13, -20.04)
CIE-LCHlch(66.44, 64.33, 341.85°)
OKLaboklab(73.55% 0.1824 -0.0533)
OKLCHoklch(73.55% 0.19 343.7)
XYZxyz(54.9267, 35.8949, 58.0573)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871C7 #71F8A2
analogous
#E671F8 #F871C7 #F87183
triadic
#F871C7 #C7F871 #71C7F8
tetradic
#F871C7 #F8E671 #71F8A2 #7183F8
square
#F871C7 #F8E671 #71F8A2 #7183F8
split-complementary
#F871C7 #83F871 #71F8E6
monochromatic
#E30B95 #F537B0 #F871C7 #FBABDE #FEE2F3

Accessibility & contrast

On white

2.57
#F871C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F871C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871C7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871C7#FFFFFF#000000##000000
##F871C71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CA
Deuteranopia (green-blind)
#A1AAC4
Tritanopia (blue-blind)
#FF7193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f871c7;
/* rgb */ color: rgb(248, 113, 199);
/* oklch */ color: oklch(73.5% 0.190 343.7);
Tailwind
colors: {
  custom: {
    50: '#fe9fd8',
    500: '#f871c7',
    950: '#000000',
  },
}
SCSS
$custom: #f871c7;
$custom-light: #fe9fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f871c7",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 321.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73547,
    "c": 0.19005,
    "h": 343.7
  },
  "luminance": 0.3589
}

Semantic roles & 50–950 ramp

primary
#F871C7
secondary
#D0F5DD
accent
#E65300
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F871C7

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

Preview Lab → · Contrast checker → · Palette generator →

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